Fri, 28 Jan 2011 12:57:18 +0100, Mark Bakker wrote:
> Follow up:
>
> The behavior is correct for real argument:
[clip]
> So maybe we should look there for good logic,
In the real case you can do "if (abs(z) > cutoff) return sgn(z)",
which is not the right thing to do for complex numbers.
Anyway, Python's cmath functions correctly, so I'm first going
to look there, and then at the glibc/gfortran implementation.
Pauli
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion