| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2010-05-05 | Remove three unneeded variable assignments. | Brett Cannon | -4/+1 | |
| Found using Clang's static analyzer. | ||||
| 2010-01-23 | dtoa.c fix from upstream that fixes incorrectly rounded results for certain ↵ | Mark Dickinson | -2/+2 | |
| subnormals that are also halfway cases. | ||||
| 2010-01-23 | Issue #7743: Add checks for zero inputs to the lshift and mult functions; | Mark Dickinson | -0/+12 | |
| this fixes the first bug described in issue #7743. | ||||
| 2010-01-22 | Issue #7743: Fix a potential incorrect rounding bug in dtoa.c (2nd bug | Mark Dickinson | -66/+107 | |
| in issue 7743). | ||||
| 2010-01-20 | Additional explanatory comments for _Py_dg_strtod. | Mark Dickinson | -0/+73 | |
| 2010-01-20 | Don't try to put a value into a NULL pointer. | Mark Dickinson | -1/+2 | |
| 2010-01-20 | Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing code | Mark Dickinson | -185/+165 | |
| 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. | ||||
| 2010-01-17 | Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable the | Mark Dickinson | -0/+98 | |
| 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. | ||||
| 2010-01-17 | Issue #7632: Fix a memory leak in _Py_dg_strtod. | Mark Dickinson | -1/+7 | |
| 2010-01-16 | Fix multiple uses of variable 'L' in _Py_dg_strtod, where one use requires ↵ | Mark Dickinson | -5/+6 | |
| an unsigned long and the other a signed long. See also r77421. | ||||
| 2010-01-16 | Issue #7632: Fix one more case of incorrect rounding for str -> float | Mark Dickinson | -27/+52 | |
| conversion (see bug 5 in the issue tracker). | ||||
| 2010-01-16 | Issue #7632: Fix a serious wrong output bug for string -> float conversion. | Mark Dickinson | -15/+41 | |
| 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. | ||||
| 2010-01-14 | Issue 7632: fix incorrect rounding for long input strings with values very ↵ | Mark Dickinson | -0/+24 | |
| close to a power of 2. (See Bug 4 in the tracker discussion.) | ||||
| 2010-01-14 | Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding. Tests to ↵ | Mark Dickinson | -9/+6 | |
| follow. | ||||
| 2010-01-14 | Fix off-by-one error introduced in r77483. I have a test for this, but it ↵ | Mark Dickinson | -2/+2 | |
| currently fails due to a different dtoa.c bug; I'll add the test once that bug is fixed. | ||||
| 2010-01-13 | More dtoa.c cleanup; remove the need for bc.dplen, bc.dp0 and bc.dp1. | Mark Dickinson | -69/+43 | |
| 2010-01-13 | Fix buggy comparison: LHS of comparison was being treated as unsigned. | Mark Dickinson | -1/+1 | |
| 2010-01-13 | Simplify and annotate the bigcomp function, removing unused special cases. | Mark Dickinson | -50/+26 | |
| 2010-01-13 | Clarify that sulp expects a nonnegative input, but that +0.0 is fine. | Mark Dickinson | -5/+7 | |
| 2010-01-13 | Add comments explaining the role of the bigcomp function in dtoa.c. | Mark Dickinson | -1/+60 | |
| 2010-01-12 | Issue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded ↵ | Mark Dickinson | -2/+22 | |
| results. | ||||
| 2010-01-12 | Issue #7632: Fix a problem with _Py_dg_strtod that could lead to | Mark Dickinson | -11/+15 | |
| crashes in debug builds, for certain long numeric strings corresponding to subnormal values. | ||||
| 2010-01-11 | Change a variable type to avoid signed overflow; replace repeated '19999' ↵ | Mark Dickinson | -4/+10 | |
| constant by a define. | ||||
| 2010-01-10 | Remove unused BCinfo fields and an unused macro. | Mark Dickinson | -21/+8 | |
| 2010-01-04 | Fix typo in comment. | Mark Dickinson | -1/+1 | |
| 2009-10-24 | Remove temporary define from r75653 | Mark Dickinson | -2/+0 | |
| 2009-10-24 | Temporary define to avoid build failure | Mark Dickinson | -0/+2 | |
| 2009-10-24 | Issue #7117: Prepare for backport of py3k float repr. | Mark Dickinson | -0/+2609 | |
| 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. | ||||
