diff options
| author | Tim Peters <tim.peters@gmail.com> | 2000-09-16 03:54:24 +0000 |
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2000-09-16 03:54:24 +0000 |
| commit | 78fc0b57dfd4bf8d3d3ab82e4ffe98cbd6075dac (patch) | |
| tree | bbc3e5a62e821b16cdfd0acc94a439b481cb90ed /Doc/lib | |
| parent | 53db8154e604959daa1edc08c6573a43f896e410 (diff) | |
| download | cpython-git-78fc0b57dfd4bf8d3d3ab82e4ffe98cbd6075dac.tar.gz | |
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')
| -rw-r--r-- | Doc/lib/libmath.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libmath.tex b/Doc/lib/libmath.tex index 598431bdf7..6edf502629 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} |
