23 Commits (34de2d312b3687994ddbc29adb66e88f672034c7)

Author SHA1 Message Date
Stefan Krah f432a3234f bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157) 8 years ago
Benjamin Peterson 5d75f441ef dtoa.c: remove code for platforms with 64-bit integers (#17884) 9 years ago
Benjamin Peterson 4fe55106d1 require standard int types to be defined (#17884) 9 years ago
Serhiy Storchaka ef1585eb9a Issue #25923: Added more const qualifiers to signatures of static and private functions. 10 years ago
Serhiy Storchaka 2d06e84455 Issue #25923: Added the const qualifier to static constant arrays. 10 years ago
Victor Stinner 938b0b9fee Fix compiler warning in dtoa.c 11 years ago
Mark Dickinson f45bbb6211 Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float. 12 years ago
Mark Dickinson e383e82e04 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'). 14 years ago
Brett Cannon b94767ff44 Issue #8914: fix various warnings from the Clang static analyzer v254. 15 years ago
Mark Dickinson d3697262f4 Remove unnecessary assignments. 16 years ago
Brett Cannon 0b03f10afb Remove three unneeded variable assignments. 16 years ago
Mark Dickinson 95a3633c96 Merged revisions 77722 via svnmerge from 16 years ago
Mark Dickinson f41d29a8eb Merged revisions 77691,77698,77713-77714 via svnmerge from 16 years ago
Mark Dickinson 8cd0a66a0f dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases. 16 years ago
Mark Dickinson fc5290458d Issue #7743: Add checks for zero inputs to the lshift and mult functions; 16 years ago
Mark Dickinson adcda3400f Issue #7743: Fix a potential incorrect rounding bug in dtoa.c (2nd bug 16 years ago
Mark Dickinson e42ffae8c4 Merged revisions 77670 via svnmerge from 16 years ago
Mark Dickinson add2823467 Merged revisions 77614-77616,77663 via svnmerge from 16 years ago
Mark Dickinson ca6ea56718 Additional explanatory comments for _Py_dg_strtod. 16 years ago
Mark Dickinson 1942806013 Don't try to put a value into a NULL pointer. 16 years ago
Mark Dickinson 4141d65fb7 Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing code 16 years ago
Mark Dickinson 173a1eedac Merged revisions 77590 via svnmerge from 16 years ago
Mark Dickinson de5080038f Merged revisions 77589 via svnmerge from 16 years ago
Mark Dickinson 9481c576cd Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable the 16 years ago
Mark Dickinson a3ba4a15ec Merged revisions 77579 via svnmerge from 16 years ago
Mark Dickinson c4f1868e88 Merged revisions 77578 via svnmerge from 16 years ago
Mark Dickinson 23df3d270d Issue #7632: Fix a memory leak in _Py_dg_strtod. 16 years ago
Mark Dickinson 11f657843f Merged revisions 77535 via svnmerge from 16 years ago
Mark Dickinson 45b6365974 Merged revisions 77519,77530,77533 via svnmerge from 16 years ago
Mark Dickinson 18a818bc63 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. 16 years ago
Mark Dickinson 811ff822f8 Issue #7632: Fix one more case of incorrect rounding for str -> float 16 years ago
Mark Dickinson 476279f18b Issue #7632: Fix a serious wrong output bug for string -> float conversion. 16 years ago
Mark Dickinson 9000c1614d Merged revisions 77494 via svnmerge from 16 years ago
Mark Dickinson 853c3bbc4c Merged revisions 77477-77478,77481-77483,77490-77493 via svnmerge from 16 years ago
Mark Dickinson f8747c1f12 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.) 16 years ago
Mark Dickinson 50b60c612e Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding. Tests to follow. 16 years ago
Mark Dickinson 03774fac62 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. 16 years ago
Mark Dickinson d2a9940acb More dtoa.c cleanup; remove the need for bc.dplen, bc.dp0 and bc.dp1. 16 years ago
Mark Dickinson 02139d74ba Fix buggy comparison: LHS of comparison was being treated as unsigned. 16 years ago
Mark Dickinson 6e0d3d67fb Simplify and annotate the bigcomp function, removing unused special cases. 16 years ago
Mark Dickinson 5818e01253 Clarify that sulp expects a nonnegative input, but that +0.0 is fine. 16 years ago
Mark Dickinson b26d56ac18 Add comments explaining the role of the bigcomp function in dtoa.c. 16 years ago
Mark Dickinson 466725136d Merged revisions 77452 via svnmerge from 16 years ago
Mark Dickinson 81612e8778 Merged revisions 77410,77421,77450-77451 via svnmerge from 16 years ago
Mark Dickinson 5ff4f279e6 Issue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded results. 16 years ago
Mark Dickinson 8efef5ce9f Issue #7632: Fix a problem with _Py_dg_strtod that could lead to 16 years ago
Mark Dickinson 0ca7452794 Change a variable type to avoid signed overflow; replace repeated '19999' constant by a define. 16 years ago
Mark Dickinson 5a0b399aa9 Remove unused BCinfo fields and an unused macro. 16 years ago
Mark Dickinson 2505f1ee6c Merged revisions 77304 via svnmerge from 16 years ago
Mark Dickinson 180e4cd54d Merged revisions 77302 via svnmerge from 16 years ago