summaryrefslogtreecommitdiffstats
path: root/Doc/library/math.rst
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-06-28 20:59:42 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-06-28 20:59:42 (GMT)
commit5a55b61a2aa15b94d26bbc058ee2b5433178a42e (patch)
treef3271995fbef03c8aa251164de7cf9fb63e6504a /Doc/library/math.rst
parent6e6565b64b201952b0497c4915e17ace5cae04a7 (diff)
downloadcpython-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.rst2
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