This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients larry, lemburg, mark.dickinson, rhettinger, serhiy.storchaka, stutzbach, vstinner, vxgmichel
Date 2020-02-03.13:37:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580737058.56.0.496289773255.issue39484@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-02-03 13:37:38serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, rhettinger, mark.dickinson, vstinner, larry, stutzbach, vxgmichel
2020-02-03 13:37:38serhiy.storchakasetmessageid: <1580737058.56.0.496289773255.issue39484@roundup.psfhosted.org>
2020-02-03 13:37:38serhiy.storchakalinkissue39484 messages
2020-02-03 13:37:38serhiy.storchakacreate