[NumPy-Tickets] [NumPy] #2042: complex log breaks log(conj(x)) = conj(log(x)) invariant
NumPy Trac
numpy-tickets@scipy....
Thu Feb 9 04:59:47 CST 2012
#2042: complex log breaks log(conj(x)) = conj(log(x)) invariant
----------------------+-----------------------------------------------------
Reporter: radford | Owner: somebody
Type: defect | Status: closed
Priority: high | Milestone: Unscheduled
Component: Other | Version: devel
Resolution: invalid | Keywords:
----------------------+-----------------------------------------------------
Changes (by pv):
* status: new => closed
* resolution: => invalid
Comment:
This is not a problem with `log`. The number `-1.0 - 0j` as a Python
complex number literal does not have the negative zero in the imaginary
part.
{{{
>>> a = 1.0 + 0.0j
>>> b = -a
>>> np.log(b)
-3.1415926535897931j
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/2042#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list