Message117623
| Author |
mark.dickinson |
| Recipients |
Kiriakos.Vlahos, brian.curtin, eric.smith, mark.dickinson, sjmachin |
| Date |
2010年09月29日.15:43:34 |
| SpamBayes Score |
2.4428548e-06 |
| Marked as misclassified |
No |
| Message-id |
<1285775017.3.0.396797412537.issue9980@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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. |
|