-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | ieee-utils
--
-- IEEE 754 (Standard for Binary Floating-Point Arithmetic) Utilities.
-- Haddock docs are at
-- http://code.haskell.org/~morrow/code/haskell/ieee-utils/haddock/.
@package ieee-utils
@version 0.2
module Numeric.IEEE.RoundMode
data RoundMode
ToNearest :: RoundMode
Upward :: RoundMode
Downward :: RoundMode
TowardZero :: RoundMode
-- | Gets the fpu's current rounding mode.
getRound :: IO RoundMode
-- | Sets the fpu's rounding mode. Returns True if successful.
setRound :: RoundMode -> IO Bool
instance Eq RoundMode
instance Ord RoundMode
instance Show RoundMode
instance Read RoundMode
instance Enum RoundMode