Copyright | (c) Michal Konecny |
---|---|
License | BSD3 |
Maintainer | mikkonecny@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Arbitrary precision floating-point numbers with up/down-rounded operations.
Currently, we use hmpfr when compiling with ghc 7.10 and higher and haskell-mpfr when compiling with ghc 7.8.
- addUp :: MPFloat -> MPFloat -> MPFloat
- addDown :: MPFloat -> MPFloat -> MPFloat
- subUp :: MPFloat -> MPFloat -> MPFloat
- subDown :: MPFloat -> MPFloat -> MPFloat
- mulUp :: MPFloat -> MPFloat -> MPFloat
- mulDown :: MPFloat -> MPFloat -> MPFloat
- divUp :: MPFloat -> MPFloat -> MPFloat
- divDown :: MPFloat -> MPFloat -> MPFloat
- recipUp :: MPFloat -> MPFloat
- recipDown :: MPFloat -> MPFloat
- piUp :: Precision -> MPFloat
- piDown :: Precision -> MPFloat
- cosUp :: MPFloat -> MPFloat
- cosDown :: MPFloat -> MPFloat
- sinUp :: MPFloat -> MPFloat
- sinDown :: MPFloat -> MPFloat
- sqrtUp :: MPFloat -> MPFloat
- sqrtDown :: MPFloat -> MPFloat
- expUp :: MPFloat -> MPFloat
- expDown :: MPFloat -> MPFloat
- logUp :: MPFloat -> MPFloat
- logDown :: MPFloat -> MPFloat