[issue46018] expm1 may incorrectly raise OverflowError on underflow

Steve Dower report at bugs.python.org
Thu Dec 9 12:14:04 EST 2021


Steve Dower <steve.dower at python.org> added the comment:

Lines 500-504 are the ones that trigger it. Apparently there are no tests in that file for straight exp(), but the equivalent tests for those would return 0.0 and suppress ERANGE too.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46018>
_______________________________________


More information about the Python-bugs-list mailing list