[Haskell-cafe] Re: Double -> CDouble, realToFrac doesn't work

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Fri Nov 5 10:23:12 EST 2004


Benjamin Franksen <benjamin.franksen at bessy.de> writes:

>> It's worse: Since according to IEEE +0 is not equal to -0, atan2 is not a
>> function!
>
> Sorry, I meant to write: Since according to IEEE +0 *is* to be regarded as 
> equal to -0, atan2 is not a function. (Because it gives different values for 
> argument combinations -0, +0.)

>From my point of view it is a function. Only == is not the finest
equality possible (but the one which is more useful).

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Haskell-Cafe mailing list