[Python-checkins] CVS: python/dist/src/Modules mathmodule.c,2.45.2.1,2.45.2.2
Peter Schneider-Kamp
python-dev@python.org
Wed, 9 Aug 2000 07:46:24 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv30664/Modules
Modified Files:
Tag: cnri-16-start
mathmodule.c
Log Message:
removed all occurences of rint from 1.6 (felt responsible for this one)
QUESTION: Should I do the same for 2.0?
Index: mathmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mathmodule.c,v
retrieving revision 2.45.2.1
retrieving revision 2.45.2.2
diff -C2 -r2.45.2.1 -r2.45.2.2
*** mathmodule.c 2000/08/03 16:52:01 2.45.2.1
--- mathmodule.c 2000/08/09 14:46:21 2.45.2.2
***************
*** 126,133 ****
"pow(x,y)\n\nReturn x**y.")
#endif
- #ifdef HAVE_RINT
- FUNC1(math_rint, rint, math_rint_doc,
- "rint(x)\n\nReturn the integer nearest to x as a real.")
- #endif
FUNC1(math_sin, sin, math_sin_doc,
"sin(x)\n\nReturn the sine of x.")
--- 126,129 ----
***************
*** 241,247 ****
{"modf", math_modf, 0, math_modf_doc},
{"pow", math_pow, 0, math_pow_doc},
- #ifdef HAVE_RINT
- {"rint", math_rint, 0, math_rint_doc},
- #endif
{"sin", math_sin, 0, math_sin_doc},
{"sinh", math_sinh, 0, math_sinh_doc},
--- 237,240 ----