I filed a ticket (#1590). Thank you for the verification.
Nadav. ________________________________________ From: [email protected] [[email protected]] On Behalf Of Pierre Haessig [[email protected]] Sent: 24 January 2012 16:01 To: [email protected] Subject: Re: [Numpy-discussion] Strange error raised by scipy.special.erf Le 22/01/2012 11:28, Nadav Horesh a écrit : > >>> special.erf(26.5) > 1.0 > >>> special.erf(26.6) > Traceback (most recent call last): > File "<pyshell#7>", line 1, in <module> > special.erf(26.6) > FloatingPointError: underflow encountered in erf > >>> special.erf(26.7) > 1.0 > I can confirm this same behaviour with numpy 1.5.1/scipy 0.9.0 Indeed 26.5 and 26.7 works, while 26.6 raises the underflow... weird enough ! -- Pierre _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
