mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Added math.rint() -- round according to current IEEE754 mode
This commit is contained in:
parent
dab6cb8f6d
commit
71260b846e
5 changed files with 16 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue