octave-maintainers
[Top][All Lists]
Advanced

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

Re: a < b incorrect for complex numbers on MinGW


From: Ed Meyer
Subject: Re: a < b incorrect for complex numbers on MinGW
Date: Tue, 12 Nov 2013 17:57:41 -0800

since ordering relations don't make sense for complex numbers it seems like
this should yield a warning. a < b should not even compile - there shouldn't be
an operator< for complex


On Tue, Nov 12, 2013 at 5:17 PM, Rik <address@hidden> wrote:
I found the following behavior while investigating a failing test in quadgk.

octave-cli.exe:9> a = 1 + 1i;
octave-cli.exe:10> b = 1 + 1i;
octave-cli.exe:11> a < b
ans =  1
octave-cli.exe:12> a == b
ans =  1
octave-cli.exe:13> a > b
ans = 0

a < b should return false, and it does on Linux, but something is wrong
with the MinGW system.  This looks unpleasant to solve.  I filed a report
about it on Savannah (https://savannah.gnu.org/bugs/index.php?40560).

--Rik




--
Ed Meyer

reply via email to

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