"Jacques Carette" <[EMAIL PROTECTED]> writes:

> Since +0 and -0 both exist as separate 'entities' (as computer bits),
> which are their own normal form, the real question to ask is, why
> would they be equal?

Because (1.0 - 1.0) == -(1.0 - 1.0) should be true. In general
arithmetic on integers which are representable in floating point
is exact, including checking for equality.

-- 
   __("<         Marcin Kowalczyk
   \__/       [EMAIL PROTECTED]
    ^^     http://qrnik.knm.org.pl/~qrczak/
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to