octave-maintainers
[Top][All Lists]
Advanced

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

Comparison with NaN


From: Michael Goffioul
Subject: Comparison with NaN
Date: Sun, 10 May 2009 21:43:44 +0100

Hi,

After running the test suite, I get a couple of errors. All of these
seem to be related to comparing/sorting with NaN. For instance:

assert (sort ([NaN, 1, -1, 2, Inf], 2),[-1, 1, 2, Inf, NaN]) expected
    -1     1     2   Inf   NaN
but got
   NaN    -1     1     2   Inf

Can anybody tell me what is the expected behavior?

Michael.


reply via email to

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