[Python-checkins] CVS: python/dist/src/Include mymath.h,2.8,2.9
Guido van Rossum
python-dev@python.org
Thu, 11 May 2000 14:19:43 -0400 (EDT)
Update of /projects/cvsroot/python/dist/src/Include
In directory eric:/projects/python/develop/guido/src/Include
Modified Files:
mymath.h
Log Message:
Added math.rint() -- round according to current IEEE754 mode
Index: mymath.h
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Include/mymath.h,v
retrieving revision 2.8
retrieving revision 2.9
diff -C2 -r2.8 -r2.9
*** mymath.h 1998/11/02 16:21:39 2.8
--- mymath.h 2000/05/11 18:19:41 2.9
***************
*** 49,52 ****
--- 49,53 ----
#undef log10
#undef pow
+ #undef rint
#undef sin
#undef sinh
***************
*** 68,71 ****
--- 69,73 ----
#define log10 log10d
#define pow powd
+ #define rint rintd
#define sin sind
#define sinh sinhd