summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_strtod.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge test_strtod and test_float string-to-float conversion tests.Mark Dickinson2010-06-201-0/+6
|
* Reduce number of random tests in test_strtod, to avoid hogging buildbot time.Mark Dickinson2010-02-211-36/+30
|
* Skip test_strtod entirely when correctly-rounded string->float isn't implementedMark Dickinson2010-02-071-2/+4
|
* Use // for floor division.Mark Dickinson2010-01-211-2/+2
|
* Add two more test_strtod test values.Mark Dickinson2010-01-211-0/+36
|
* Additional testcases for strtod.Mark Dickinson2010-01-211-0/+54
|
* Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing codeMark Dickinson2010-01-201-4/+41
| | | | | | 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.
* Increase number of strtod tests slightly, to make it more likely that a ↵Mark Dickinson2010-01-171-1/+1
| | | | memory leak is detected.
* Add better error reporting for MemoryErrors caused by str->float conversions.Mark Dickinson2010-01-161-0/+2
|
* Issue #7632: Fix one more case of incorrect rounding for str -> floatMark Dickinson2010-01-161-6/+3
| | | | conversion (see bug 5 in the issue tracker).
* Issue #7632: Fix a serious wrong output bug for string -> float conversion.Mark Dickinson2010-01-161-0/+2
| | | | | | 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.
* Issue #7632: add tests for bugs fixed so far.Mark Dickinson2010-01-141-0/+269