commit | 6b87f117caba3a6af28f0d0afb05515ae8997620 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Tue Nov 24 14:27:02 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Tue Nov 24 14:27:02 2009 +0000 |
tree | 73b2396c2562f2c64355df5cad7a3771b5360bd8 | |
parent | 9a03f2fd03278d2c12dfe253de1bbed7c0c9c506 [diff] [blame] |
Fix some documentation examples involving the repr of a float.
diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst index 29c7a66..3554e4f 100644 --- a/Doc/tutorial/floatingpoint.rst +++ b/Doc/tutorial/floatingpoint.rst
@@ -115,7 +115,7 @@ ... sum += 0.1 ... >>> sum - 0.99999999999999989 + 0.9999999999999999 Binary floating-point arithmetic holds many surprises like this. The problem with "0.1" is explained in precise detail below, in the "Representation Error"