Antoine Pitrou
60e361fe42
Fix misuse of the bigmemtest decorator
2013-11-26 20:00:34 +01:00
Mark Dickinson
c02c6df2c7
Issue #19638 : Skip large digit string tests on 32-bit platforms.
2013-11-26 17:02:46 +00:00
Mark Dickinson
c2f8c81af0
Issue #19638 : Raise ValueError instead of crashing when converting billion character strings to float.
2013-11-26 16:38:25 +00:00
Mark Dickinson
801923681c
Merge test_strtod and test_float string-to-float conversion tests.
2010-06-20 18:50:19 +00:00
Mark Dickinson
92cb4a8c6f
Reduce number of random tests in test_strtod, to avoid hogging buildbot time.
2010-02-21 14:42:27 +00:00
Mark Dickinson
841e7f3ae2
Skip test_strtod entirely when correctly-rounded string->float isn't implemented
2010-02-07 20:31:10 +00:00
Mark Dickinson
a3112d1462
Use // for floor division.
2010-01-21 19:58:41 +00:00
Mark Dickinson
5a633488d4
Add two more test_strtod test values.
2010-01-21 18:32:27 +00:00
Mark Dickinson
294d6acb89
Additional testcases for strtod.
2010-01-21 17:02:53 +00:00
Mark Dickinson
4141d65fb7
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.
2010-01-20 17:36:31 +00:00
Mark Dickinson
ab6ee7a042
Increase number of strtod tests slightly, to make it more likely that a memory leak is detected.
2010-01-17 11:10:03 +00:00
Mark Dickinson
d87f22cec8
Add better error reporting for MemoryErrors caused by str->float conversions.
2010-01-16 20:33:02 +00:00
Mark Dickinson
811ff822f8
Issue #7632 : Fix one more case of incorrect rounding for str -> float
...
conversion (see bug 5 in the issue tracker).
2010-01-16 17:57:49 +00:00
Mark Dickinson
476279f18b
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.
2010-01-16 10:44:00 +00:00
Mark Dickinson
647ed91d5c
Issue #7632 : add tests for bugs fixed so far.
2010-01-14 15:22:33 +00:00