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 tim.peters
Recipients sajjadfx, tim.peters
Date 2019-05-16.02:58:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557975520.82.0.530610690602.issue36934@roundup.psfhosted.org>
In-reply-to
Content
Note that this pure Python gives the same result:

>>> "%.0f" % float(1639873214337061279)
'1639873214337061376'

That's not surprising:  int -> float conversion is limited to the precision of a Python float, which is a C double, which is almost certainly just 53 (not 64) significant bits.
History
Date User Action Args
2019-05-16 02:58:40tim.peterssetrecipients: + tim.peters, sajjadfx
2019-05-16 02:58:40tim.peterssetmessageid: <1557975520.82.0.530610690602.issue36934@roundup.psfhosted.org>
2019-05-16 02:58:40tim.peterslinkissue36934 messages
2019-05-16 02:58:40tim.peterscreate