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

NumPy numpy-tickets@scipy....
Fri Nov 28 03:45: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 faltet):

 Confirmed that arctanh works correctly now on Windows and MSVC9:

 {{{
 C:\Users\francesc\Desktop\NumPy>python
 Python 2.6 (r26:66721, Oct  2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
 on win
 32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy
 >>> numpy.__version__
 '1.3.0.dev6116'
 >>> numpy.arctanh(1.)
 inf
 >>> numpy.arctanh(-1.)
 -inf
 >>>
 }}}

 May I suggest that you explicitly put the revision where you fixed things?
 Something like r6115 would do.  Also, it would be nice if in the commits,
 you can refer to the ticket that the commit is addressed to (if any).
 This proves to be specially useful when, in the future, somebody is
 revising the ticket and wants to check the affected revisions or vice
 versa.

 Thanks!

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


More information about the Numpy-tickets mailing list