[Numpy-tickets] [NumPy] #959: atanh(+1) gives nan instead of inf on Windows

NumPy numpy-tickets@scipy....
Wed Nov 26 22:51:31 CST 2008


#959: atanh(+1) gives nan instead of inf on Windows
------------------------+---------------------------------------------------
 Reporter:  faltet      |        Owner:  somebody
     Type:  defect      |       Status:  new     
 Priority:  normal      |    Milestone:  1.3.0   
Component:  numpy.core  |      Version:  devel   
 Severity:  normal      |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by charris):

 I can make a quick fix to the numpy log1p functions that might solve this
 short term. Googling about, it seems that numpy's algorithm isn't quite as
 accurate as we could wish and is also liable to be messed up by some
 compiler optimizations. Fortran is better for such things ;) Anyway, I
 think I'll do the quick fix, then maybe borrow the same code from Sun that
 Python did in their numeric revamp.

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/959#comment:4>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list