-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | FFI bindings for C _Float128 -- -- This package provides a Float128 type, wrapping C's _Float128, which -- is typically a IEEE quadruple precision binary floating point type. It -- does not provide a CFloat128 type usable for FFI without wrapping in -- Ptr, this needs to be done by the compiler. @package float128 @version 0.1 -- | This module contains a Float128 type that can be used if you need the -- extra precision or range from the IEEE _Float128 quadruple precision -- type. It has 15bit signed exponent (compared to 11bit signed exponent -- for Double) and 113bit mantissa (compared to 53bit mantissa for -- Double). -- -- Performance is likely to be poor, as the instances are implemented -- using FFI with Ptr Float128, copying to and from memory around each -- operation. If you need to bind to functions taking/returning _Float128 -- you need to write wrapper functions expecting pointers to _Float128 -- instead, as GHC does not expose a CFloat128 FFI type. module Numeric.Float128 -- | The _Float128 type. data Float128 F128 :: !Word64 -> !Word64 -> Float128 -- | Alternate versions of RealFrac methods that keep the value as a -- Float128. truncate' :: Float128 -> Float128 -- | Alternate versions of RealFrac methods that keep the value as a -- Float128. round' :: Float128 -> Float128 -- | Alternate versions of RealFrac methods that keep the value as a -- Float128. ceiling' :: Float128 -> Float128 -- | Alternate versions of RealFrac methods that keep the value as a -- Float128. floor' :: Float128 -> Float128 fromDouble :: Double -> Float128 toDouble :: Float128 -> Double fromInt :: Int -> Float128 toInt :: Float128 -> Int instance Foreign.Storable.Storable Numeric.Float128.Float128 instance GHC.Classes.Eq Numeric.Float128.Float128 instance GHC.Classes.Ord Numeric.Float128.Float128 instance GHC.Num.Num Numeric.Float128.Float128 instance GHC.Real.Real Numeric.Float128.Float128 instance GHC.Real.Fractional Numeric.Float128.Float128 instance GHC.Real.RealFrac Numeric.Float128.Float128 instance GHC.Float.Floating Numeric.Float128.Float128 instance GHC.Float.RealFloat Numeric.Float128.Float128 instance GHC.Read.Read Numeric.Float128.Float128 instance GHC.Show.Show Numeric.Float128.Float128