diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-11-24 14:27:02 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-11-24 14:27:02 (GMT) |
commit | 6b87f117caba3a6af28f0d0afb05515ae8997620 (patch) | |
tree | 73b2396c2562f2c64355df5cad7a3771b5360bd8 /Doc/library/math.rst | |
parent | 9a03f2fd03278d2c12dfe253de1bbed7c0c9c506 (diff) | |
download | cpython-6b87f117caba3a6af28f0d0afb05515ae8997620.zip cpython-6b87f117caba3a6af28f0d0afb05515ae8997620.tar.gz cpython-6b87f117caba3a6af28f0d0afb05515ae8997620.tar.bz2 |
Fix some documentation examples involving the repr of a float.
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r-- | Doc/library/math.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 78a8a56..d297c78 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -90,7 +90,7 @@ Number-theoretic and representation functions loss of precision by tracking multiple intermediate partial sums:: >>> sum([.1, .1, .1, .1, .1, .1, .1, .1, .1, .1]) - 0.99999999999999989 + 0.9999999999999999 >>> fsum([.1, .1, .1, .1, .1, .1, .1, .1, .1, .1]) 1.0 |