[Haskell-cafe] Re: NaN, Infinity literals

2006-09-09 Thread Arie Peterson
Ashley Yakeley wrote: Bertram Felgenhauer wrote: This is correct according to the IEEE 754 standard, which defines that NaN compares unequal to everything, including itself. This is numerically useful, perhaps, but nonetheless disturbing. For it would be helpful to expect that any type

[Haskell-cafe] Re: NaN, Infinity literals

2006-09-08 Thread Ashley Yakeley
Bertram Felgenhauer wrote: This is correct according to the IEEE 754 standard, which defines that NaN compares unequal to everything, including itself. This is numerically useful, perhaps, but nonetheless disturbing. For it would be helpful to expect that any type that presumes to be an