[Numpy-discussion] exp(NINF) returns underflow error after version 1.20

2022-01-24 Thread Michael Gutteridge
We have an interesting situation where a test suite that checks the value of e^-inf is behaving differently depending on Numpy version. The minimal test I'm using is: #!/usr/bin/env python3 import numpy as np np.seterr(under='raise') print(np.exp(np.NINF)) With numpy version 1.19.5 and 1.20.3

[Numpy-discussion] Re: exp(NINF) returns underflow error after version 1.20

2022-01-25 Thread Michael Gutteridge
Thanks- I've created bug https://github.com/numpy/numpy/issues/20891 - Michael ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/nump