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 steven.daprano
Recipients Riccardo La Marca, serhiy.storchaka, steven.daprano
Date 2019-12-04.11:48:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575460107.7.0.817771772079.issue38968@roundup.psfhosted.org>
In-reply-to
Content
Hi Riccardo,

In the future, would you mind not posting screenshots of code or errors? Rather, copy and paste the text. That makes it easier for others to replicate the error, and also allows visually impaired and blind people using screen leaders.

Otherwise you force us to retype your code, which can introduce errors.

This is not a bug, it is normal and expected behaviour. You type the number "123456789012345678901234567890.76" but floats only have 64 bits of precision, so that becomes the float 1.2345678901234568e+29 which is *exactly* the whole number 123456789012345677877719597056 just as `int` reports.

So nothing to do with `int`, it is normal behaviour for floats.
History
Date User Action Args
2019-12-04 11:48:27steven.dapranosetrecipients: + steven.daprano, serhiy.storchaka, Riccardo La Marca
2019-12-04 11:48:27steven.dapranosetmessageid: <1575460107.7.0.817771772079.issue38968@roundup.psfhosted.org>
2019-12-04 11:48:27steven.dapranolinkissue38968 messages
2019-12-04 11:48:27steven.dapranocreate