summaryrefslogtreecommitdiffstats
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
authorPeter Schneider-Kamp <nowonder@nowonder.de>2000-08-10 04:23:30 (GMT)
committerPeter Schneider-Kamp <nowonder@nowonder.de>2000-08-10 04:23:30 (GMT)
commit10e1bf2f64b77f3a71157c72de19265870cdeb5f (patch)
tree4230ef139d940ff0fa2f56afdb5d1d6ec84e6bab /Modules/mathmodule.c
parent0707fea5ee112da270a86b5a147f260d6c0e35ef (diff)
downloadcpython-10e1bf2f64b77f3a71157c72de19265870cdeb5f.zip
cpython-10e1bf2f64b77f3a71157c72de19265870cdeb5f.tar.gz
cpython-10e1bf2f64b77f3a71157c72de19265870cdeb5f.tar.bz2
remove all occurence of math.rint() from the sources
(and yes, "Currintly" also counts <0.5 wink>)
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r--Modules/mathmodule.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index f51b63a..626e606 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},