[Python-checkins] CVS: python/dist/src/Modules mathmodule.c,2.52,2.53

Peter Schneider-Kamp python-dev@python.org
Wed, 9 Aug 2000 21:23:32 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv20310/Modules

Modified Files:
	mathmodule.c 
Log Message:

remove all occurence of math.rint() from the sources

(and yes, "Currintly" also counts <0.5 wink>)



Index: mathmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mathmodule.c,v
retrieving revision 2.52
retrieving revision 2.53
diff -C2 -r2.52 -r2.53
*** mathmodule.c	2000/07/31 15:28:04	2.52
--- mathmodule.c	2000/08/10 04:23:30	2.53
***************
*** 130,137 ****
        "pow(x,y)\n\nReturn x**y.")
  #endif
- #ifdef HAVE_RINT
- FUNC1(rint, rint,
-       "rint(x)\n\nReturn the integer nearest to x as a real.")
- #endif
  FUNC1(sin, sin,
        "sin(x)\n\nReturn the sine of x.")
--- 130,133 ----
***************
*** 241,247 ****
  	{"modf",	math_modf,	METH_VARARGS,	math_modf_doc},
  	{"pow",		math_pow,	METH_VARARGS,	math_pow_doc},
- #ifdef HAVE_RINT
- 	{"rint",	math_rint,	METH_VARARGS,	math_rint_doc},
- #endif
  	{"sin",		math_sin,	METH_VARARGS,	math_sin_doc},
  	{"sinh",	math_sinh,	METH_VARARGS,	math_sinh_doc},
--- 237,240 ----