[Haskell-cafe] about integer and float operations
gale at sefer.org
Wed Feb 4 14:13:27 EST 2009
Manlio Perillo wrote:
>> The first difference is about a `mod` b, when a and b are Float types.
>> Python use the fmod function, and it also implement divmod; Haskell seems to
>> lack support for this operation.
> Yes, Haskell does not implement the full IEEE.
I spoke too soon. Data.Fixed.mod' supports this operation.
I doubt that it is implemented via the IEEE primitive though.
More information about the Haskell-Cafe