Serhiy Storchaka <[email protected]> added the comment:
The problem is that there is a double rounding in
time = float(time_ns) / 1e9
1. When convert time_ns to float.
2. When divide it by 1e9.
The formula
time = time_ns / 10**9
may be more accurate.
----------
nosy: +lemburg, mark.dickinson, rhettinger, stutzbach
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39484>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com