summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libmath.tex
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-09-16 03:54:24 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-09-16 03:54:24 (GMT)
commit78fc0b57dfd4bf8d3d3ab82e4ffe98cbd6075dac (patch)
treebbc3e5a62e821b16cdfd0acc94a439b481cb90ed /Doc/lib/libmath.tex
parent53db8154e604959daa1edc08c6573a43f896e410 (diff)
downloadcpython-78fc0b57dfd4bf8d3d3ab82e4ffe98cbd6075dac.zip
cpython-78fc0b57dfd4bf8d3d3ab82e4ffe98cbd6075dac.tar.gz
cpython-78fc0b57dfd4bf8d3d3ab82e4ffe98cbd6075dac.tar.bz2
Fixed legit gripe from c.l.py that math.fmod docs aren't confusing enough.
FRED, please check my monkey-see-monkey-do Tex fiddling!
Diffstat (limited to 'Doc/lib/libmath.tex')
-rw-r--r--Doc/lib/libmath.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libmath.tex b/Doc/lib/libmath.tex
index 598431b..6edf502 100644
--- a/Doc/lib/libmath.tex
+++ b/Doc/lib/libmath.tex
@@ -60,7 +60,9 @@ Return the floor of \var{x} as a real.
\end{funcdesc}
\begin{funcdesc}{fmod}{x, y}
-Return \code{\var{x} \%\ \var{y}}.
+Return \code{fmod(\var{x}, \var{y})}, as defined by the platform C library.
+Note that the Python expression \code{\var{x} \%\ \var{y}} may not return
+the same result.
\end{funcdesc}
\begin{funcdesc}{frexp}{x}