[Python-ideas] Add time.time_ns(): system clock with nanosecond resolution

Victor Stinner victor.stinner at gmail.com
Fri Oct 13 11:02:13 EDT 2017

2017-10-13 16:57 GMT+02:00 Stefan Behnel <stefan_ml at behnel.de>:
> I might have missed it while skipping through your post, but could you
> quickly explain why improving the precision of time.time() itself wouldn't
> help already? Would double FP precision not be accurate enough here?

80-bit binary float ("long double") is not portable. Since SSE, Intel
CPU don't use them anymore, no?

Modifying the Python float type would be a large change.


More information about the Python-ideas mailing list