summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-05-11 18:19:42 +0000
committerGuido van Rossum <guido@python.org>2000-05-11 18:19:42 +0000
commit00b7d91513f3eaec6dc59c82f8e07a16119a1d43 (patch)
treec0da762d7e1eff188fe5943b35237a76bb164781 /Doc
parentb2429ea3e2e476291ae11b04466d963068c1a8f4 (diff)
downloadcpython-00b7d91513f3eaec6dc59c82f8e07a16119a1d43.tar.gz
Added math.rint() -- round according to current IEEE754 mode
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libmath.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/lib/libmath.tex b/Doc/lib/libmath.tex
index af1ac102b4..f4fd2f2d95 100644
--- a/Doc/lib/libmath.tex
+++ b/Doc/lib/libmath.tex
@@ -93,6 +93,10 @@ carry the sign of \var{x}. The integer part is returned as a real.
Return \code{\var{x}**\var{y}}.
\end{funcdesc}
+\begin{funcdesc}{rint}{x, y}
+Return the integer nearest to \var{x} as a real.
+\end{funcdesc}
+
\begin{funcdesc}{sin}{x}
Return the sine of \var{x}.
\end{funcdesc}