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 steve.dower
Recipients steve.dower
Date 2021-12-09.00:43:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639010636.16.0.465988709351.issue46018@roundup.psfhosted.org>
In-reply-to
Content
If a C runtime's math functions set errno to ERANGE, we assume it is a valid underflow if fabs(result) < 1.0.

However, because expm1 includes a -1.0, it underflows towards -1.0. This fails the above check, and so if a runtime's expm1() sets ERANGE we will raise a spurious OverflowError.
History
Date User Action Args
2021-12-09 00:43:56steve.dowersetrecipients: + steve.dower
2021-12-09 00:43:56steve.dowersetmessageid: <1639010636.16.0.465988709351.issue46018@roundup.psfhosted.org>
2021-12-09 00:43:56steve.dowerlinkissue46018 messages
2021-12-09 00:43:55steve.dowercreate