qd: double-double and quad-double number type via libqd

[ bsd3, library, math ] [ Propose Tags ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.4, 0.4.1, 1.0, 1.0.2.1
Dependencies base (>=4 && <5), floatshow (>=0.2 && <0.3) [details]
License BSD-3-Clause
Author Claude Heiland-Allen
Maintainer claude@mathr.co.uk
Category Math
Source repo head: git clone git://gitorious.org/hsqd/hsqd.git
this: git clone git://gitorious.org/hsqd/hsqd.git(tag v1.0.2.1)
Uploaded by ClaudeHeilandAllen at 2012-10-15T21:31:45Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 4238 total (19 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]