Copyright | (C) 2018 Claude Heiland-Allen |
---|---|
License | BSD3 |
Maintainer | Claude Heiland-Allen <claude@mathr.co.uk> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
This module re-exports the default platform-specfic ABI for C's long double.
Synopsis
- data LongDouble
- truncate' :: LongDouble -> LongDouble
- round' :: LongDouble -> LongDouble
- ceiling' :: LongDouble -> LongDouble
- floor' :: LongDouble -> LongDouble
- fromInt :: Int -> LongDouble
- toInt :: LongDouble -> Int
- fromDouble :: Double -> LongDouble
- toDouble :: LongDouble -> Double
Documentation
data LongDouble Source #
The long double type on x86_64: 80bits of x87 FPU data in 128bits of space.
Instances
truncate' :: LongDouble -> LongDouble Source #
Alternate versions of RealFrac methods that keep the value as a long double.
round' :: LongDouble -> LongDouble Source #
Alternate versions of RealFrac methods that keep the value as a long double.
ceiling' :: LongDouble -> LongDouble Source #
Alternate versions of RealFrac methods that keep the value as a long double.
floor' :: LongDouble -> LongDouble Source #
Alternate versions of RealFrac methods that keep the value as a long double.
fromInt :: Int -> LongDouble Source #
toInt :: LongDouble -> Int Source #
fromDouble :: Double -> LongDouble Source #
toDouble :: LongDouble -> Double Source #