variable-precision
Software floating point with type-tagged variable mantissa precision, implemented using a strict pair of Integer and Int scaled alike to decodeFloat. Version 0.4 adds more number-type-agnostic numerical algorithms (sin, cos, tan). 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. Usage with ghc(i)-7.0.4 might require -fcontext-stack=100.
hackage.haskell.org
0.3.1
over 13 years ago
6
4,313 total
Past Dependents
Check this option to include packages that no longer depend on this package in their latest version but previously did.
Filter
Filter by Kind
Links
| Registry | hackage.haskell.org |
| Homepage | Homepage |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/variable-precision
spec |
| License | BSD-3-Clause |
| First Release | about 14 years ago |
| Last Synced | 4 days ago |