-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | FFI bindings for C long double
--   
--   This package provides a LongDouble type, being 80bits of x87 data
--   taking up 96bits on i386 and 128bits on x86_64. On arm it is an alias
--   for 64bit double. It does not provide a CLDouble type usable for FFI
--   without wrapping in Ptr, this needs to be done by the compiler. See
--   <a>https://ghc.haskell.org/trac/ghc/ticket/3353</a>.
@package long-double
@version 0.1


-- | This module re-exports the default platform-specfic ABI for C's long
--   double.
module Numeric.LongDouble

-- | The long double type on x86_64: 80bits of x87 FPU data in 128bits of
--   space.
data LongDouble

-- | Alternate versions of RealFrac methods that keep the value as a long
--   double.
truncate' :: LongDouble -> LongDouble

-- | Alternate versions of RealFrac methods that keep the value as a long
--   double.
round' :: LongDouble -> LongDouble

-- | Alternate versions of RealFrac methods that keep the value as a long
--   double.
ceiling' :: LongDouble -> LongDouble

-- | Alternate versions of RealFrac methods that keep the value as a long
--   double.
floor' :: LongDouble -> LongDouble
fromInt :: Int -> LongDouble
toInt :: LongDouble -> Int
fromDouble :: Double -> LongDouble
toDouble :: LongDouble -> Double
