Closed
Description
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