c2f8c81af02519952a857baebb5c0c9048033009 |
|
26-Nov-2013 |
Mark Dickinson <dickinsm@gmail.com> |
Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float.
/external/python/cpython2/Python/dtoa.c
|
0b03f10afb301560c711b953b6ca2ecef3181eed |
|
05-May-2010 |
Brett Cannon <bcannon@gmail.com> |
Remove three unneeded variable assignments. Found using Clang's static analyzer.
/external/python/cpython2/Python/dtoa.c
|
8cd0a66a0fd7bb7d69153906942930c2e8c3dd17 |
|
23-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases.
/external/python/cpython2/Python/dtoa.c
|
fc5290458d00e3eebf82dd914fd2848b7e3f7e87 |
|
23-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Issue #7743: Add checks for zero inputs to the lshift and mult functions; this fixes the first bug described in issue #7743.
/external/python/cpython2/Python/dtoa.c
|
adcda3400f8ae931139605b8d1fcfede4c1c6916 |
|
22-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Issue #7743: Fix a potential incorrect rounding bug in dtoa.c (2nd bug in issue 7743).
/external/python/cpython2/Python/dtoa.c
|
ca6ea567184941a62f49f911a16d5bc3515c634c |
|
20-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Additional explanatory comments for _Py_dg_strtod.
/external/python/cpython2/Python/dtoa.c
|
19428060139151e3047283f132e8baf16436745e |
|
20-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Don't try to put a value into a NULL pointer.
/external/python/cpython2/Python/dtoa.c
|
4141d65fb7eacccee58b2fa462b56a2410e67777 |
|
20-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
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.
/external/python/cpython2/Python/dtoa.c
|
9481c576cd5e820f2a23b57481366f37df3dbbf9 |
|
17-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
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/cpython2/Python/dtoa.c
|
23df3d270d3572c43638d15b63684405b66887f7 |
|
17-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Issue #7632: Fix a memory leak in _Py_dg_strtod.
/external/python/cpython2/Python/dtoa.c
|
18a818bc63d993c3d3433f69cf2b7d2b9bd63ebf |
|
16-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
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/cpython2/Python/dtoa.c
|
811ff822f8cd87cf29867118cb3a74c5035a1a94 |
|
16-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Issue #7632: Fix one more case of incorrect rounding for str -> float conversion (see bug 5 in the issue tracker).
/external/python/cpython2/Python/dtoa.c
|
476279f18b1bbcc5939f6bb7a10dd937c933cfb3 |
|
16-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
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.
/external/python/cpython2/Python/dtoa.c
|
f8747c1f12577a4198d47f28eaf89a2983a13261 |
|
14-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
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.)
/external/python/cpython2/Python/dtoa.c
|
50b60c612e7eca3f815d362190ddb80a21a6d820 |
|
14-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding. Tests to follow.
/external/python/cpython2/Python/dtoa.c
|
03774fac622e35a4fa16901b0de181707effd930 |
|
14-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
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.
/external/python/cpython2/Python/dtoa.c
|
d2a9940acbe6a74cc83e371baf2ef7c580e308bc |
|
13-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
More dtoa.c cleanup; remove the need for bc.dplen, bc.dp0 and bc.dp1.
/external/python/cpython2/Python/dtoa.c
|
02139d74bae1a77bbe4ad528762e1620486e3e36 |
|
13-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Fix buggy comparison: LHS of comparison was being treated as unsigned.
/external/python/cpython2/Python/dtoa.c
|
6e0d3d67fb67cc80c4570e504890e03c2bc6efde |
|
13-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Simplify and annotate the bigcomp function, removing unused special cases.
/external/python/cpython2/Python/dtoa.c
|
5818e0125395b88b5e3c69dacdb50d5562628cd2 |
|
13-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Clarify that sulp expects a nonnegative input, but that +0.0 is fine.
/external/python/cpython2/Python/dtoa.c
|
b26d56ac18df454e373e01a405a622d412d5bd53 |
|
13-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Add comments explaining the role of the bigcomp function in dtoa.c.
/external/python/cpython2/Python/dtoa.c
|
5ff4f279e6342bf142de22c91662b8eb70ce722a |
|
12-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Issue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded results.
/external/python/cpython2/Python/dtoa.c
|
8efef5ce9f6c0dfd2cb4720b61a37bbdfdb5e30e |
|
12-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
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.
/external/python/cpython2/Python/dtoa.c
|
0ca7452794bef03b66f56cc996a73cac066d0ec1 |
|
11-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Change a variable type to avoid signed overflow; replace repeated '19999' constant by a define.
/external/python/cpython2/Python/dtoa.c
|
5a0b399aa9d75d4d208394d80b4997c164435ecb |
|
10-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Remove unused BCinfo fields and an unused macro.
/external/python/cpython2/Python/dtoa.c
|
2bcd17727027b6c923340209f8c6b92e34c69556 |
|
04-Jan-2010 |
Mark Dickinson <dickinsm@gmail.com> |
Fix typo in comment.
/external/python/cpython2/Python/dtoa.c
|
52462c31854374de83bd0b1a742d6184e07389b5 |
|
24-Oct-2009 |
Mark Dickinson <dickinsm@gmail.com> |
Remove temporary define from r75653
/external/python/cpython2/Python/dtoa.c
|
fd42f3099112b8de50c9145af4a43c1cf35887a3 |
|
24-Oct-2009 |
Mark Dickinson <dickinsm@gmail.com> |
Temporary define to avoid build failure
/external/python/cpython2/Python/dtoa.c
|
bb28285ea2f01e97a26bc595d49da43fbee62913 |
|
24-Oct-2009 |
Mark Dickinson <dickinsm@gmail.com> |
Issue #7117: Prepare for backport of py3k float repr. Add the Python/dtoa.c file containing the main algorithms; add corresponding include file and include in Python.h; include license information for Python/dtoa.c; add dtoa.c and dtoa.h to Makefile.
/external/python/cpython2/Python/dtoa.c
|