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:
Guido van Rossum 2000-05-11 18:42:27 +00:00
parent a28518a6a6
commit c9a5f343bc
2 changed files with 5 additions and 0 deletions

View file

@ -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}