summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-03-29 14:37:51 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-03-29 14:37:51 (GMT)
commit2e648ecc7d7339b0a932a64c521cae8da791bfcd (patch)
treee3fe18c1e8b6f0e1ce332502a343af8b79706568 /Doc
parent310916212e3320b3b100ff57bbc4ce5331ca1cfe (diff)
downloadcpython-2e648ecc7d7339b0a932a64c521cae8da791bfcd.zip
cpython-2e648ecc7d7339b0a932a64c521cae8da791bfcd.tar.gz
cpython-2e648ecc7d7339b0a932a64c521cae8da791bfcd.tar.bz2
Issue #532631: Replace confusing fabs(x)/1e25 >= 1e25 test
with fabs(x) >= 1e50, and fix documentation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index f3ff505..2e54039 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1409,7 +1409,7 @@ that ``'\0'`` is the end of the string.
.. XXX Examples?
For safety reasons, floating point precisions are clipped to 50; ``%f``
-conversions for numbers whose absolute value is over 1e25 are replaced by ``%g``
+conversions for numbers whose absolute value is over 1e50 are replaced by ``%g``
conversions. [#]_ All other errors raise exceptions.
.. index::