[Numpy-tickets] [NumPy] #959: atanh(+1) gives nan instead of inf on Windows
NumPy
numpy-tickets@scipy....
Wed Nov 26 11:39:17 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):
The function didn't change but the configuration changes for detecting
functions probably caused the numpy version to be used. What happens if
you add
#define HAVE_ATANH
before the function? In any case we need to track down the problem. The
numpy version is more accurate for small values of x than the Mathworks
version, but I suspect log1p might be broken for inf values. What does
log1p(inf) do?
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/959#comment:2>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list