Message249303
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. :-) |
|
Date |
User |
Action |
Args |
2015-08-28 22:28:48 | belopolsky | set | recipients:
+ belopolsky, tim.peters, mark.dickinson, vstinner, larry, r.david.murray, aconrad, vivanov, tbarbugli, trcarden |
2015-08-28 22:28:48 | belopolsky | set | messageid: <1440800928.46.0.564709796348.issue23517@psf.upfronthosting.co.za> |
2015-08-28 22:28:48 | belopolsky | link | issue23517 messages |
2015-08-28 22:28:48 | belopolsky | create | |
|