The qd package

[Tags: bsd3, library]

This package supports both a double-double datatype (approx. 32 decimal digits) and a quad-double datatype (approx. 64 decimal digits), using libqd (which is implemented in C++ with C and Fortran wrappers). To compile this package you need libqd to be installed.

Numeric.QD.DoubleDouble.DoubleDouble and Numeric.QD.QuadDouble.QuadDouble are strict tuples of CDoubles, with instances of: BinDecode, DecimalFormat, Eq, Floating, Fractional, Num, Ord, Read, Real, RealFrac, Show, Storable, Typeable.

Additional note: libqd depends on 64bit doubles, while some FPU architectures use 80bit. When using the Unsafe modules this might cause erroneous results; the Safe modules (used by the instances above) set and restore the FPU flags in foreign code to avoid race conditions from pre-emptive Haskell threading.


Properties

Versions0.1, 0.2, 0.4, 0.4.1, 1.0, 1.0.2.1
Dependenciesbase (==4.*), floatshow (==0.2.*)
LicenseBSD3
AuthorClaude Heiland-Allen
Maintainerclaude@mathr.co.uk
CategoryMath
Source repositoryhead: git clone git://gitorious.org/hsqd/hsqd.git
this: git clone git://gitorious.org/hsqd/hsqd.git(tag v1.0.2.1)
Upload dateMon Oct 15 21:31:45 UTC 2012
Uploaded byClaudeHeilandAllen
Downloads263 total (21 in last 30 days)

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees