@hackage variable-precision0.1
variable-precision floating point
Categories
License
BSD-3-Clause
Maintainer
claudiusmaximus@goto10.org
Links
Versions
Deprecated
Dependencies (3)
- base >=3 && <6
- floatshow >=0.2 && <0.3
- type-level-natural-number >=1 && <2 Show all…
Dependents (1)
@hackage/acme-everything
Software floating point with type-tagged variable mantissa precision,
implemented using a strict pair of Integer and Int scaled alike
to decodeFloat.
Instances of the usual numeric type classes are provided, along with additional operators (with carefully chosen fixities) to coerce, adjust and reify precisions.
The intention with this library is to be relatively simple but still useful, refer to the documentation for caveats concerning accuracy and assorted ill-behaviour.