Message166383
On Wed, Jul 25, 2012 at 4:17 AM, Marc-Andre Lemburg <report@bugs.python.org> wrote:
> ... full C double precision for the time part of a timestamp,
> which covers nanoseconds just fine.
No, it does not:
>>> import time
>>> t = time.time()
>>> t + 5e-9 == t
True
In fact, C double precision is barely enough to cover microseconds:
>>> t + 1e-6 == t
False
>>> t + 1e-7 == t
True |
|
Date |
User |
Action |
Args |
2012-07-25 11:24:29 | belopolsky | set | recipients:
+ belopolsky, lemburg, vstinner, Arfrever, r.david.murray, goshawk |
2012-07-25 11:24:29 | belopolsky | set | messageid: <1343215469.78.0.23187921367.issue15443@psf.upfronthosting.co.za> |
2012-07-25 11:24:29 | belopolsky | link | issue15443 messages |
2012-07-25 11:24:29 | belopolsky | create | |
|