History log of /external/python/cpython3/Python/dtoa.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5d75f441ef0a3cfe7af0d865db2530528e424818 06-Sep-2016 Benjamin Peterson <benjamin@python.org> dtoa.c: remove code for platforms with 64-bit integers (#17884)
/external/python/cpython3/Python/dtoa.c
4fe55106d1bd99015b18118bf1067a1189e070ea 06-Sep-2016 Benjamin Peterson <benjamin@python.org> require standard int types to be defined (#17884)
/external/python/cpython3/Python/dtoa.c
ef1585eb9a488ae8ce3ff057f43a7048b941cc1c 25-Dec-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #25923: Added more const qualifiers to signatures of static and private functions.
/external/python/cpython3/Python/dtoa.c
2d06e8445587d9b4d0bf79bdb08ab4743b780249 25-Dec-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #25923: Added the const qualifier to static constant arrays.
/external/python/cpython3/Python/dtoa.c
938b0b9feef243ef1085ce10d91994d7a70f3818 18-Mar-2015 Victor Stinner <victor.stinner@gmail.com> Fix compiler warning in dtoa.c
/external/python/cpython3/Python/dtoa.c
f45bbb62110a7bbcbbf45c1a52be6de7b791b189 26-Nov-2013 Mark Dickinson <dickinsm@gmail.com> Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float.
/external/python/cpython3/Python/dtoa.c
e383e82e0484aed79f2c78516e3f223345408d4b 29-Apr-2012 Mark Dickinson <mdickinson@enthought.com> Issue #14521: Make result of float('nan') and float('-nan') more consistent across platforms. Further, don't rely on Py_HUGE_VAL for float('inf').
/external/python/cpython3/Python/dtoa.c
b94767ff44edf5d461d7cb1c8eb5160f83886358 22-Feb-2011 Brett Cannon <bcannon@gmail.com> Issue #8914: fix various warnings from the Clang static analyzer v254.
/external/python/cpython3/Python/dtoa.c
d3697262f41204bd31b454634bc2c6ac4fdae2dc 13-May-2010 Mark Dickinson <dickinsm@gmail.com> Remove unnecessary assignments.
/external/python/cpython3/Python/dtoa.c
f41d29a8ebc27aafc18b6850648f1faa918e0e5d 24-Jan-2010 Mark Dickinson <dickinsm@gmail.com> Merged revisions 77691,77698,77713-77714 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r77691 | mark.dickinson | 2010-01-22 16:18:09 +0000 (Fri, 22 Jan 2010) | 1 line

Correct typo in comment.
........
r77698 | mark.dickinson | 2010-01-22 17:04:07 +0000 (Fri, 22 Jan 2010) | 3 lines

Issue #7743: Fix a potential incorrect rounding bug in dtoa.c (2nd bug
in issue 7743).
........
r77713 | mark.dickinson | 2010-01-23 20:48:56 +0000 (Sat, 23 Jan 2010) | 3 lines

Issue #7743: Add checks for zero inputs to the lshift and mult functions;
this fixes the first bug described in issue #7743.
........
r77714 | mark.dickinson | 2010-01-23 21:25:53 +0000 (Sat, 23 Jan 2010) | 1 line

dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases.
........
/external/python/cpython3/Python/dtoa.c
add282346765a8d61d0d8d7ecaa201492f1facd2 21-Jan-2010 Mark Dickinson <dickinsm@gmail.com> Merged revisions 77614-77616,77663 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r77614 | mark.dickinson | 2010-01-20 17:36:31 +0000 (Wed, 20 Jan 2010) | 5 lines

Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing code
and exit points. 2. Simplify bigcomp comparison loop. 3. Don't set
ERANGE on _Py_dg_strtod underflow (it was set inconsistently anyway).
4. Remove unused dsign field from BCinfo struct.
........
r77615 | mark.dickinson | 2010-01-20 18:02:41 +0000 (Wed, 20 Jan 2010) | 1 line

Don't try to put a value into a NULL pointer.
........
r77616 | mark.dickinson | 2010-01-20 21:23:25 +0000 (Wed, 20 Jan 2010) | 1 line

Additional explanatory comments for _Py_dg_strtod.
........
r77663 | mark.dickinson | 2010-01-21 17:02:53 +0000 (Thu, 21 Jan 2010) | 1 line

Additional testcases for strtod.
........
/external/python/cpython3/Python/dtoa.c
de5080038f29628db12f0639a3b5df1aa1a93868 17-Jan-2010 Mark Dickinson <dickinsm@gmail.com> Merged revisions 77589 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r77589 | mark.dickinson | 2010-01-17 20:57:56 +0000 (Sun, 17 Jan 2010) | 7 lines

Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable the
private memory allocation scheme in dtoa.c, along with a piece of code
that caches powers of 5 for future use. This makes it easier to
detect dtoa.c memory leaks with Valgrind or similar tools.

Patch by Stefan Krah.
........
/external/python/cpython3/Python/dtoa.c
c4f1868e88b950d758f200080baadd7989dae593 17-Jan-2010 Mark Dickinson <dickinsm@gmail.com> Merged revisions 77578 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r77578 | mark.dickinson | 2010-01-17 13:37:57 +0000 (Sun, 17 Jan 2010) | 2 lines

Issue #7632: Fix a memory leak in _Py_dg_strtod.
........
/external/python/cpython3/Python/dtoa.c
45b6365974b6611c3dc1c2e48c55d36ca0e500d9 16-Jan-2010 Mark Dickinson <dickinsm@gmail.com> Merged revisions 77519,77530,77533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r77519 | mark.dickinson | 2010-01-16 10:44:00 +0000 (Sat, 16 Jan 2010) | 5 lines

Issue #7632: Fix a serious wrong output bug for string -> float conversion.
Also remove some now unused variables, and add comments clarifying the
possible outputs of the parsing section of _Py_dg_strtod. Thanks
Eric Smith for reviewing.
........
r77530 | mark.dickinson | 2010-01-16 17:57:49 +0000 (Sat, 16 Jan 2010) | 3 lines

Issue #7632: Fix one more case of incorrect rounding for str -> float
conversion (see bug 5 in the issue tracker).
........
r77533 | mark.dickinson | 2010-01-16 18:06:17 +0000 (Sat, 16 Jan 2010) | 1 line

Fix multiple uses of variable 'L' in _Py_dg_strtod, where one use requires an unsigned long and the other a signed long. See also r77421.
........
/external/python/cpython3/Python/dtoa.c
853c3bbc4c10c84f66471ff9423d572301f3015b 14-Jan-2010 Mark Dickinson <dickinsm@gmail.com> Merged revisions 77477-77478,77481-77483,77490-77493 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r77477 | mark.dickinson | 2010-01-13 18:21:53 +0000 (Wed, 13 Jan 2010) | 1 line

Add comments explaining the role of the bigcomp function in dtoa.c.
........
r77478 | mark.dickinson | 2010-01-13 19:02:37 +0000 (Wed, 13 Jan 2010) | 1 line

Clarify that sulp expects a nonnegative input, but that +0.0 is fine.
........
r77481 | mark.dickinson | 2010-01-13 20:55:03 +0000 (Wed, 13 Jan 2010) | 1 line

Simplify and annotate the bigcomp function, removing unused special cases.
........
r77482 | mark.dickinson | 2010-01-13 22:15:53 +0000 (Wed, 13 Jan 2010) | 1 line

Fix buggy comparison: LHS of comparison was being treated as unsigned.
........
r77483 | mark.dickinson | 2010-01-13 22:20:10 +0000 (Wed, 13 Jan 2010) | 1 line

More dtoa.c cleanup; remove the need for bc.dplen, bc.dp0 and bc.dp1.
........
r77490 | mark.dickinson | 2010-01-14 13:02:36 +0000 (Thu, 14 Jan 2010) | 1 line

Fix off-by-one error introduced in r77483. I have a test for this, but it currently fails due to a different dtoa.c bug; I'll add the test once that bug is fixed.
........
r77491 | mark.dickinson | 2010-01-14 13:14:49 +0000 (Thu, 14 Jan 2010) | 1 line

Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding. Tests to follow.
........
r77492 | mark.dickinson | 2010-01-14 14:40:20 +0000 (Thu, 14 Jan 2010) | 1 line

Issue 7632: fix incorrect rounding for long input strings with values very close to a power of 2. (See Bug 4 in the tracker discussion.)
........
r77493 | mark.dickinson | 2010-01-14 15:22:33 +0000 (Thu, 14 Jan 2010) | 1 line

Issue #7632: add tests for bugs fixed so far.
........
/external/python/cpython3/Python/dtoa.c
81612e877870c52bae7c590076eec642b9803138 13-Jan-2010 Mark Dickinson <dickinsm@gmail.com> 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.
........
/external/python/cpython3/Python/dtoa.c
180e4cd54de7a08ba363ac18412fb74b8f10ec31 04-Jan-2010 Mark Dickinson <dickinsm@gmail.com> Merged revisions 77302 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r77302 | mark.dickinson | 2010-01-04 21:32:02 +0000 (Mon, 04 Jan 2010) | 1 line

Fix typo in comment.
........
/external/python/cpython3/Python/dtoa.c
bd16edd305ba8067615e703a2cfeeb33907f40b8 21-May-2009 Mark Dickinson <dickinsm@gmail.com> Refactor to remove duplicated nan/inf parsing code in
pystrtod.c, floatobject.c and dtoa.c.
/external/python/cpython3/Python/dtoa.c
725bfd8489e444aedd8dfd686a27ffc308657155 03-May-2009 Mark Dickinson <dickinsm@gmail.com> Issue #5914: Add new C-API function PyOS_string_to_double, to complement
PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof.
/external/python/cpython3/Python/dtoa.c
fd2ad8b4f2c88cba76d6b2cbca92612fc3fc8b61 17-Apr-2009 Mark Dickinson <dickinsm@gmail.com> Silence compiler warnings on VS8.0
/external/python/cpython3/Python/dtoa.c
7f0ea323ee99a06cb8075151403125e0b928137c 17-Apr-2009 Mark Dickinson <dickinsm@gmail.com> Add reminder to dtoa.c to check for updates regularly.
Fix a bug in the memory management in dtoa.c.
/external/python/cpython3/Python/dtoa.c
b08a53a99def3fa949643974f713b5b189e21bc7 16-Apr-2009 Mark Dickinson <dickinsm@gmail.com> Issue #1580: use short float repr where possible.
- incorporate and adapt David Gay's dtoa and strtod
into the Python core
- on platforms where we can use Gay's code (almost
all!), repr(float) is based on the shortest
sequence of decimal digits that rounds correctly.
- add sys.float_repr_style attribute to indicate
whether we're using Gay's code or not
- add autoconf magic to detect and enable SSE2
instructions on x86/gcc
- slight change to repr and str: repr switches
to exponential notation at 1e16 instead of
1e17, str switches at 1e11 instead of 1e12
/external/python/cpython3/Python/dtoa.c