Copyright | (c) Michal Konecny |
---|---|
License | BSD3 |
Maintainer | mikkonecny@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Conversions and comparisons of arbitrary precision floating point numbers
Synopsis
- toDouble :: MPFloat -> Double
- type CanBeMPFloat t = ConvertibleExactly t MPFloat
- mpFloat :: CanBeMPFloat t => t -> MPFloat
- fromIntegerCEDU :: Precision -> Integer -> BoundsCEDU MPFloat
- fromRationalCEDU :: Precision -> Rational -> BoundsCEDU MPFloat
- zero :: MPFloat
- one :: MPFloat
- two :: MPFloat
- nan :: MPFloat
- infinity :: MPFloat
MPFloat to other types (see also instances)
MPFloat constructors (see also instances)
type CanBeMPFloat t = ConvertibleExactly t MPFloat Source #
mpFloat :: CanBeMPFloat t => t -> MPFloat Source #
fromIntegerCEDU :: Precision -> Integer -> BoundsCEDU MPFloat Source #
fromRationalCEDU :: Precision -> Rational -> BoundsCEDU MPFloat Source #