diff options
author | Peter Schneider-Kamp <nowonder@nowonder.de> | 2000-08-10 04:23:30 +0000 |
---|---|---|
committer | Peter Schneider-Kamp <nowonder@nowonder.de> | 2000-08-10 04:23:30 +0000 |
commit | ab03118d88b115b0dd1d4fecba8748a938500bb9 (patch) | |
tree | 56d90eb177cb31a46331bf978ae467a7943dd4b9 /Modules | |
parent | 55e4c6b5c3124fb8cc2b4def3c8a58272cc4afc3 (diff) | |
download | cpython-ab03118d88b115b0dd1d4fecba8748a938500bb9.tar.gz |
remove all occurence of math.rint() from the sources
(and yes, "Currintly" also counts <0.5 wink>)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/mathmodule.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index f51b63a98b..626e606534 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -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}, |