You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The complex-valued ufuncs in numpy.core.umath do not handle inf, nan, and floating-point signals in a well-defined way. The results are platform-dependent. (See eg. #1463 and discussion following [1]).
It might be useful to follow the C99 standard [2] here, possibly looking up how things were recently improved in Python's cmath module.
Some test cases for C99 behavior were backed out in r5644; when this issue is addressed, it would make sense to resurrect them.
Our current own implementations don't agree with C99 special inf/nan point
values. How to switch the relevant tests to KNOWNFAILs when the C99 functions
are not available?
Original ticket http://projects.scipy.org/numpy/ticket/886 on 2008-08-13 by @pv, assigned to unknown.
The complex-valued ufuncs in numpy.core.umath do not handle inf, nan, and floating-point signals in a well-defined way. The results are platform-dependent. (See eg. #1463 and discussion following [1]).
It might be useful to follow the C99 standard [2] here, possibly looking up how things were recently improved in Python's cmath module.
Some test cases for C99 behavior were backed out in r5644; when this issue is addressed, it would make sense to resurrect them.
[1] http://article.gmane.org/gmane.comp.python.numeric.general/23497
[2] http://www.open-std.org/jtc1/sc22/wg14/www/standards
The text was updated successfully, but these errors were encountered: