[Haskell-cafe] What's NaN?

Lennart Augustsson lennart at augustsson.net
Wed May 28 03:44:05 EDT 2008


Try reading http://www.physics.ohio-state.edu/~dws/grouplinks/floating_point_math.pdf

On Wed, May 28, 2008 at 8:04 AM, PR Stanley <prstanley at ntlworld.com> wrote:
> Hello
> Why does sqrt (-16) return NaN? What is NaN?
> Thanks
> Paul
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list