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 cykerway
Recipients cykerway, mark.dickinson, steven.daprano
Date 2021-12-24.16:33:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640363622.48.0.411992901273.issue46173@roundup.psfhosted.org>
In-reply-to
Content
IEEE 754, 7.4 Overflow:

>   The overflow exception shall be signaled if and only if the destination format’s largest finite number is exceeded in magnitude by what would have been the rounded floating-point result (see 4) were the exponent range unbounded...

Were this the basis of the float implementation, not raising an overflow exception seems to be the correct behavior? Then this is not a bug, but the python float doc might better say "If the *rounded* argument is outside..."
History
Date User Action Args
2021-12-24 16:33:42cykerwaysetrecipients: + cykerway, mark.dickinson, steven.daprano
2021-12-24 16:33:42cykerwaysetmessageid: <1640363622.48.0.411992901273.issue46173@roundup.psfhosted.org>
2021-12-24 16:33:42cykerwaylinkissue46173 messages
2021-12-24 16:33:42cykerwaycreate