commit | 71260b846e9ecafb21e52fd3f5b9ac74ebc8c1e6 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu May 11 18:19:42 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu May 11 18:19:42 2000 +0000 |
tree | 5022e60cabc3d790df52410d7d73cff56c058d23 | |
parent | dab6cb8f6dacc107e9482976ca2f8e0313f05131 [diff] [blame] |
Added math.rint() -- round according to current IEEE754 mode
diff --git a/Doc/lib/libmath.tex b/Doc/lib/libmath.tex index af1ac10..f4fd2f2 100644 --- a/Doc/lib/libmath.tex +++ b/Doc/lib/libmath.tex
@@ -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}