diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-06-28 20:59:42 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-06-28 20:59:42 (GMT) |
commit | 5a55b61a2aa15b94d26bbc058ee2b5433178a42e (patch) | |
tree | f3271995fbef03c8aa251164de7cf9fb63e6504a /Doc/library/math.rst | |
parent | 6e6565b64b201952b0497c4915e17ace5cae04a7 (diff) | |
download | cpython-5a55b61a2aa15b94d26bbc058ee2b5433178a42e.zip cpython-5a55b61a2aa15b94d26bbc058ee2b5433178a42e.tar.gz cpython-5a55b61a2aa15b94d26bbc058ee2b5433178a42e.tar.bz2 |
Issue #6354: More fixes for code 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 649487f..488230a 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -82,7 +82,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 |