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

(and yes, "Currintly" also counts <0.5 wink>)
This commit is contained in:
Peter Schneider-Kamp 2000-08-10 04:23:30 +00:00
parent 0707fea5ee
commit 10e1bf2f64
9 changed files with 90 additions and 133 deletions

View file

@ -129,10 +129,6 @@ FUNC2(pow, power,
FUNC2(pow, pow,
"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.")
FUNC1(sinh, sinh,
@ -240,9 +236,6 @@ static PyMethodDef math_methods[] = {
{"log10", math_log10, METH_VARARGS, math_log10_doc},
{"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},
{"sqrt", math_sqrt, METH_VARARGS, math_sqrt_doc},