diff options
author | Guido van Rossum <guido@python.org> | 2000-05-11 18:19:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-05-11 18:19:42 (GMT) |
commit | 71260b846e9ecafb21e52fd3f5b9ac74ebc8c1e6 (patch) | |
tree | 5022e60cabc3d790df52410d7d73cff56c058d23 /Doc | |
parent | dab6cb8f6dacc107e9482976ca2f8e0313f05131 (diff) | |
download | cpython-71260b846e9ecafb21e52fd3f5b9ac74ebc8c1e6.zip cpython-71260b846e9ecafb21e52fd3f5b9ac74ebc8c1e6.tar.gz cpython-71260b846e9ecafb21e52fd3f5b9ac74ebc8c1e6.tar.bz2 |
Added math.rint() -- round according to current IEEE754 mode
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libmath.tex | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ 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} |