Haskell does not allow you to change rounding mode, NaN signallng mode, etc. But otherwise Haskell on modern platforms conforms to IEEE 754.
-- Lennart On Sun, Jun 22, 2008 at 9:37 AM, Sean McLaughlin <[EMAIL PROTECTED]> wrote: > Hello, > > I'm considering using Haskell for a numerical application. However, > I need to rely > on IEEE 754 standards being implemented correctly. What is the > current state of 754 in Haskell? > The definition has this paragraph, which makes me suspect Haskell is > not appropriate for this > application: > > "The default floating point operations defined by the Haskell Prelude > do not conform to current language independent arithmetic (LIA) > standards. These standards require considerably more complexity in the > numeric structure and have thus been relegated to a library. Some, but > not all, aspects of the IEEE floating point standard have been > accounted for in Prelude class RealFloat." > > Thank you, > > Sean > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
