
5 Dec
2007
5 Dec
'07
3:18 a.m.
Stefan O'Rear
It's rather worse than that.
Prelude> let nan = 0/0 Prelude> nan > nan False Prelude> nan < nan False Prelude> nan == nan False
And this begs the question: Prelude> compare nan nan GT So while NaN is greater than itself, it is at the same time not greater than itself? -k -- If I haven't seen further, it is by standing in the footprints of giants