On Sat, Jan 10, 2015 at 6:12 PM, Erik Schnetter <schnet...@gmail.com> wrote:

> This may lead to problems with nans. For example, 1.0/(0.0, 0.0) is (inf,
> nan), and 1.0/(inf,nan) is (0.0, nan); multiply by (1, im) yields (nan,
> nan), and all information is lost. With a proper treatment, this would be
> (0.0, 0.0) instead.
>

We already have this problem.

julia> 1.0/Complex(0.0, 0.0)
NaN + NaN*im

(essentially #9531)

I agree that (Inf, NaN) should be treated as a representation of complex
infinity. (Ref: #5234)

Reply via email to