Message117623
> It's interesting to note that '9' is ascii 57, and ':' is 58.
Right; it's that part that convinces me that the problem is somewhere deep in _Py_dg_dtoa, in the guts of the float to string conversion, where a xxx999999... result is rounded up to xx(x+1)000000... incorrectly. And it seems at least possible that there's a compiler bug somewhere, since it's happened before. It's also possible that there's a bug in _Py_dg_dtoa; this seems fairly unlikely (but certainly not out of the question), since this bit is pretty much exactly David Gay's original code. |
|
Date |
User |
Action |
Args |
2010-09-29 15:43:37 | mark.dickinson | set | recipients:
+ mark.dickinson, sjmachin, eric.smith, brian.curtin, Kiriakos.Vlahos |
2010-09-29 15:43:37 | mark.dickinson | set | messageid: <1285775017.3.0.396797412537.issue9980@psf.upfronthosting.co.za> |
2010-09-29 15:43:35 | mark.dickinson | link | issue9980 messages |
2010-09-29 15:43:34 | mark.dickinson | create | |
|