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!
This commit is contained in:
Tim Peters 2000-09-16 03:54:24 +00:00
parent 53db8154e6
commit 78fc0b57df
3 changed files with 6 additions and 3 deletions

View file

@ -399,7 +399,7 @@ float_divmod(PyFloatObject *v, PyFloatObject *w)
PyFPE_START_PROTECT("divmod", return 0)
vx = v->ob_fval;
mod = fmod(vx, wx);
/* fmod is typically exact, so vx-mod is *mathemtically* an
/* fmod is typically exact, so vx-mod is *mathematically* an
exact multiple of wx. But this is fp arithmetic, and fp
vx - mod is an approximation; the result is that div may
not be an exact integral value after the division, although