From: Fred Drake Date: Wed, 25 Apr 2001 20:58:34 +0000 (+0000) Subject: Correct two floating-point representations printed by the interpreter in X-Git-Tag: v2.0.1c1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c7d1f841347ae5a905bce5fe1469bd95bb12cf7;p=thirdparty%2FPython%2Fcpython.git Correct two floating-point representations printed by the interpreter in interactive examples. Error noted by Dinu Gherman. --- diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 14261aa9ce2a..24ecc519c7e9 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -426,7 +426,7 @@ operands convert the integer operand to floating point: \begin{verbatim} >>> 4 * 2.5 / 3.3 -3.0303030303 +3.0303030303030303 >>> 7.0 / 2 3.5 \end{verbatim} @@ -476,7 +476,7 @@ TypeError: can't convert complex to float; use e.g. abs(z) >>> a.real 1.5 >>> abs(a) -1.58113883008 +1.5811388300841898 \end{verbatim} In interactive mode, the last printed expression is assigned to the