variable-precision: variable-precision floating point

[ bsd3, library, math ] [ Propose Tags ]

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.

Versions 0.1, 0.1.1, 0.2, 0.2.1, 0.3.1, 0.4
Dependencies base (>=3 && <6), floatshow (==0.2.*), type-level-natural-number (==1.*) [details]
License BSD-3-Clause
Copyright (c) 2012 Claude Heiland-Allen
Author Claude Heiland-Allen
Category Math
Home page
Source repo head: git clone git://
this: git clone git:// v0.1)
Uploaded by ClaudeHeilandAllen at Thu Apr 12 19:06:07 UTC 2012
Distributions NixOS:0.4
Downloads 1985 total (20 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees