The variable-precision package

[Tags: bsd3, library]

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.


Properties

Versions0.1, 0.1.1, 0.2, 0.2.1, 0.3.1, 0.4
Dependenciesbase (>=3 && <6), complex-generic (>=0.1.1 && <0.2), floatshow (==0.2.*), type-level-natural-number (==1.*)
LicenseBSD3
Copyright(c) 2012 Claude Heiland-Allen
AuthorClaude Heiland-Allen
Maintainerclaude@mathr.co.uk
CategoryMath
Home pagehttps://gitorious.org/variable-precision
Source repositoryhead: git clone git://gitorious.org/variable-precision/variable-precision.git
this: git clone git://gitorious.org/variable-precision/variable-precision.git(tag v0.4)
Upload dateMon Feb 18 22:30:30 UTC 2013
Uploaded byClaudeHeilandAllen
Downloads358 total (21 in last 30 days)

Modules

[Index]

Flags

NameDescriptionDefault
fastEnable optimisations requiring recent integer-gmpEnabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees