summaryrefslogtreecommitdiffstats
path: root/Lib/test/floating_points.txt
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-01-12 23:04:19 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-01-12 23:04:19 (GMT)
commit81612e877870c52bae7c590076eec642b9803138 (patch)
treed5d1a2032727107a1ee41d76d1de39864944ed58 /Lib/test/floating_points.txt
parentf845302d06542c2a3a52a9356c09d54ecbf44610 (diff)
downloadcpython-81612e877870c52bae7c590076eec642b9803138.zip
cpython-81612e877870c52bae7c590076eec642b9803138.tar.gz
cpython-81612e877870c52bae7c590076eec642b9803138.tar.bz2
Merged revisions 77410,77421,77450-77451 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77410 | mark.dickinson | 2010-01-10 13:06:31 +0000 (Sun, 10 Jan 2010) | 1 line Remove unused BCinfo fields and an unused macro. ........ r77421 | mark.dickinson | 2010-01-11 17:15:13 +0000 (Mon, 11 Jan 2010) | 1 line Change a variable type to avoid signed overflow; replace repeated '19999' constant by a define. ........ r77450 | mark.dickinson | 2010-01-12 22:23:56 +0000 (Tue, 12 Jan 2010) | 4 lines Issue #7632: Fix a problem with _Py_dg_strtod that could lead to crashes in debug builds, for certain long numeric strings corresponding to subnormal values. ........ r77451 | mark.dickinson | 2010-01-12 22:55:51 +0000 (Tue, 12 Jan 2010) | 2 lines Issue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded results. ........
Diffstat (limited to 'Lib/test/floating_points.txt')
-rw-r--r--Lib/test/floating_points.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/floating_points.txt b/Lib/test/floating_points.txt
index 70d21ea..539073d 100644
--- a/Lib/test/floating_points.txt
+++ b/Lib/test/floating_points.txt
@@ -1019,3 +1019,10 @@
+43723334984997307E-26
+10182419849537963E-24
-93501703572661982E-26
+
+# A value that caused a crash in debug builds for Python >= 2.7, 3.1
+# See http://bugs.python.org/issue7632
+2183167012312112312312.23538020374420446192e-370
+
+# Another value designed to test a corner case of Python's strtod code.
+0.99999999999999999999999999999999999999999e+23