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
With Julia 0.5, (2.0+0im)^-2 correctly gives 0.25 - 0.0im, but (2.0+0im)^-2.1 gives 0.23325824788420185 + 0.0im. Notice that the sign of the imaginary part is incorrect, in that (2.0+δ*im)^-2.1 should give a negative imaginary part as δ ⟶ 0⁺.
^(z::Complex, w::Real) should probably be its own method anyway, since I would be surprised if you couldn't compute this more efficiently than Complex^Complex.
With Julia 0.5,
(2.0+0im)^-2
correctly gives0.25 - 0.0im
, but(2.0+0im)^-2.1
gives0.23325824788420185 + 0.0im
. Notice that the sign of the imaginary part is incorrect, in that(2.0+δ*im)^-2.1
should give a negative imaginary part asδ ⟶ 0⁺
.cc: @jiahao
The text was updated successfully, but these errors were encountered: