Message249303
| Author |
belopolsky |
| Recipients |
aconrad, belopolsky, larry, mark.dickinson, r.david.murray, tbarbugli, tim.peters, trcarden, vivanov, vstinner |
| Date |
2015年08月28日.22:28:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1440800928.46.0.564709796348.issue23517@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
OK, I looked at the wrong place. Here is the correct example:
>>> x = float.fromhex('0x1.38f312b1b36bdp-1')
>>> x
0.6112295
>>> round(x, 6)
0.611229
>>> timedelta(0, x).microseconds
611230
but I no longer remember whether we concluded that timedelta got it wrong or round or both or neither. :-) |
|