octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to find division operator in liboctave tree?


From: John W. Eaton
Subject: Re: Where to find division operator in liboctave tree?
Date: Sun, 5 Nov 2017 15:16:04 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 11/05/2017 12:18 AM, Rik wrote:
jwe,

I'm trying to resolve bug #52285, and while the ordinary division operator
works for real values

1 / 0 = Inf

there is an issue with complex numbers

1 / complex (0,0) = Inf - NaNi

Where can I find the complex division code?

For this real scalar by complex scalar division, it's here:


http://hg.savannah.gnu.org/hgweb/octave/file/2ac103974d00/libinterp/operators/op-s-cs.cc#l46

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]