[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.
- Comparison with NaN,
Michael Goffioul <=
- Re: Comparison with NaN, Jaroslav Hajek, 2009/05/11
- Re: Comparison with NaN, Michael Goffioul, 2009/05/11
- Re: Comparison with NaN, Jaroslav Hajek, 2009/05/11
- Re: Comparison with NaN, Michael Goffioul, 2009/05/11
- Re: Comparison with NaN, Jaroslav Hajek, 2009/05/11
- Re: Comparison with NaN, Michael Goffioul, 2009/05/11
- Re: Comparison with NaN, Jaroslav Hajek, 2009/05/11
- Re: Comparison with NaN, Michael Goffioul, 2009/05/11
- Re: Comparison with NaN, Michael Goffioul, 2009/05/11
- Re: Comparison with NaN, Michael Goffioul, 2009/05/11