]> granicus.if.org Git - python/commitdiff
Do not talk about "real" numbers; talk about "floats" or "floating point
authorFred Drake <fdrake@acm.org>
Mon, 18 Dec 2000 13:50:24 +0000 (13:50 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 18 Dec 2000 13:50:24 +0000 (13:50 +0000)
numbers" instead; we have not described "reals" anywhere else in the
documentation, and this is not the place to change the story!

Reported by Keith Briggs <keith.briggs@bt.com>.

Doc/lib/libmath.tex

index 6edf502629153ac6b6969d8f601fa46cdd0efbc4..0f286d426d7fc359070ab14d10130453eb7b2ad7 100644 (file)
@@ -36,7 +36,7 @@ Return \code{atan(\var{y} / \var{x})}.
 \end{funcdesc}
 
 \begin{funcdesc}{ceil}{x}
-Return the ceiling of \var{x} as a real.
+Return the ceiling of \var{x} as a float.
 \end{funcdesc}
 
 \begin{funcdesc}{cos}{x}
@@ -52,11 +52,11 @@ Return \code{e**\var{x}}.
 \end{funcdesc}
 
 \begin{funcdesc}{fabs}{x}
-Return the absolute value of the real \var{x}.
+Return the absolute value of the floating point number \var{x}.
 \end{funcdesc}
 
 \begin{funcdesc}{floor}{x}
-Return the floor of \var{x} as a real.
+Return the floor of \var{x} as a float.
 \end{funcdesc}
 
 \begin{funcdesc}{fmod}{x, y}
@@ -92,7 +92,7 @@ Return the base-10 logarithm of \var{x}.
 
 \begin{funcdesc}{modf}{x}
 Return the fractional and integer parts of \var{x}.  Both results
-carry the sign of \var{x}.  The integer part is returned as a real.
+carry the sign of \var{x}.  The integer part is returned as a float.
 \end{funcdesc}
 
 \begin{funcdesc}{pow}{x, y}