Message91562
Closing this as a won't fix: as far as I can tell, the test failure is
due to a platform deficiency (string <-> float conversions provided by the
C standard library aren't correctly rounded; moreover, they're not
accurate enough that converting a C double to 17 significant digits and
back recovers the original double). It's not clear what Python can
reasonably do to fix this. I'd prefer not to disable or weaken these
tests, since they're useful on other platforms.
srid, if you do have any alternative suggestions about how this might be
fixed then please do submit them.
For what it's worth, this particular failure should no longer be a problem
in Python 3.1 and higher, since 3.1 uses its own string <-> float
conversion code (based on David Gay's dtoa.c). |
|
Date |
User |
Action |
Args |
2009-08-14 17:14:32 | mark.dickinson | set | recipients:
+ mark.dickinson, srid |
2009-08-14 17:14:32 | mark.dickinson | set | messageid: <1250270072.56.0.327892433942.issue6646@psf.upfronthosting.co.za> |
2009-08-14 17:14:31 | mark.dickinson | link | issue6646 messages |
2009-08-14 17:14:30 | mark.dickinson | create | |
|