Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libmath.tex @ 12669:2a6dc65c060f legacy-trunk
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.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 11 May 2000 18:42:27 +0000 |
| parents | 1ea8cf885f7b |
| children | 8dca55867998 |
line wrap: on
line diff
--- a/Doc/lib/libmath.tex Thu May 11 18:41:32 2000 +0000 +++ b/Doc/lib/libmath.tex Thu May 11 18:42:27 2000 +0000 @@ -95,6 +95,7 @@ \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}
