Copyright | (c) Michal Konecny |
---|---|
License | BSD3 |
Maintainer | mikkonecny@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Arbitrary precision floating-point numbers
Currently, we use hmpfr when compiling with ghc 7.10 and higher and haskell-mpfr when compiling with ghc 7.8.
- type MPFloat = MPFR
- setPrecisionUp :: Precision -> MPFloat -> MPFloat
- setPrecisionDown :: Precision -> MPFloat -> MPFloat
- p2mpfrPrec :: Precision -> Precision
MPFloat numbers and their basic operations
p2mpfrPrec :: Precision -> Precision Source #