[Haskell-cafe] Exception for NaN

wren ng thornton wren at freegeek.org
Sun May 15 02:57:10 CEST 2011

On 5/12/11 3:22 PM, Andrew Coppin wrote:
> There is an isNaN function somewhere.

N.B., on Hugs (September 2006), isNaN is flagrantly broken; so is 
isInfinite. I have a solution available[1], but alas, it seems unlikely 
to ever make its way back upstream.

Moral: double check your compiler before trusting things like that.


Live well,

More information about the Haskell-Cafe mailing list