[Scipy-tickets] [SciPy] #1590: special.erf raises underflow for inout values around 26.6

SciPy Trac scipy-tickets@scipy....
Tue Jan 24 09:35:42 CST 2012


#1590: special.erf raises underflow for inout values around 26.6
---------------------------+------------------------------------------------
 Reporter:  nadav.horesh   |       Owner:  pv         
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  scipy.special  |     Version:  0.10.0     
 Keywords:  erf underflow  |  
---------------------------+------------------------------------------------
 >>> 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

 Verified with scipy 0.10 and 0.11dev on AMD64 linux.
 Verified with 0.9 on unknown platform by Pierre Haessig.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1590>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list