Copyright | (c) Michal Konecny |
---|---|
License | BSD3 |
Maintainer | mikkonecny@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Fixed precision non-negative up-rounded floating-point numbers.
Currently using a fixed-precision MPFloat.
Synopsis
- data ErrorBound
- type CanBeErrorBound t = Convertible t ErrorBound
- errorBound :: CanBeErrorBound t => t -> ErrorBound
- absMP :: MPFloat -> ErrorBound
- subMP :: MPFloat -> MPFloat -> ErrorBound
Documentation
data ErrorBound Source #
A non-negative Double value to serve as an error bound. Arithmetic is rounded towards +infinity.
Instances
type CanBeErrorBound t = Convertible t ErrorBound Source #
errorBound :: CanBeErrorBound t => t -> ErrorBound Source #
absMP :: MPFloat -> ErrorBound Source #