mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
The addition of rint() (by Peter Schneider-Kamp; I forgot to mention
that before) in the previous patch has one problem; rint() is not in the C math library on all platforms (e.g. not for VC++). Make it conditional on HAVE_RINT.
This commit is contained in:
parent
a28518a6a6
commit
c9a5f343bc
2 changed files with 5 additions and 0 deletions
|
@ -95,6 +95,7 @@ Return \code{\var{x}**\var{y}}.
|
|||
|
||||
\begin{funcdesc}{rint}{x, y}
|
||||
Return the integer nearest to \var{x} as a real.
|
||||
(Only available on platforms where this is in the standard C math library.)
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{sin}{x}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue