Message206890
> but 0.0156001 isn't close enough to 0.015625 for "rounding errors" to be at all a plausible explanation for why it's so strange.
0.0156001 is close to 0.0156, and this number cannot be representated exactly in binary:
>>> (0.0156).hex()
'0x1.ff2e48e8a71dep-7'
C code used by Python:
GetSystemTimeAdjustment(&timeAdjustment, &timeIncrement,
&isTimeAdjustmentDisabled);
info->resolution = timeIncrement * 1e-7;
(And yes, 0.0156001 is surprising, I also expected 1/64, 0.015625) |
|
| Date |
User |
Action |
Args |
| 2013-12-24 14:08:08 | vstinner | set | recipients:
+ vstinner, tim.peters, christian.heimes, python-dev, zach.ware |
| 2013-12-24 14:08:08 | vstinner | set | messageid: <1387894088.65.0.812655895608.issue19999@psf.upfronthosting.co.za> |
| 2013-12-24 14:08:08 | vstinner | link | issue19999 messages |
| 2013-12-24 14:08:08 | vstinner | create | |
|