diff Doc/lib/libmath.tex @ 12663:1ea8cf885f7b legacy-trunk

Added math.rint() -- round according to current IEEE754 mode
author Guido van Rossum <guido@python.org>
date Thu, 11 May 2000 18:19:42 +0000
parents e82e82b3b9ad
children 2a6dc65c060f
line wrap: on
line diff
--- a/Doc/lib/libmath.tex	Thu May 11 14:43:52 2000 +0000
+++ b/Doc/lib/libmath.tex	Thu May 11 18:19:42 2000 +0000
@@ -93,6 +93,10 @@
 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}