compensated

Compensated floating-point arithmetic http://github.com/analytics/compensated/

LTS Haskell 9.14:0.7.2
Stackage Nightly 2017-07-25:0.7.1
Latest on Hackage:0.7.2
BSD3 licensed by Edward A. Kmett
Maintained by Edward A. Kmett

Module documentation for 0.7.2

compensated

Hackage Build Status

This package provides a form of compensated arithmetic that lets you perform many operations on chains of doubles at higher precision.

In particular addition, multiplication, etc. on a Compensated Double is done with twice as many bits of significand as on a raw Double.

This construction is designed so that it can be iterated.

This was forked from the analytics repository after repeated requests.

Work still needs to be done to properly support most Floating operations, but everything below that level of the numeric hierarchy should work.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett

Changes

0.7.2

  • Add a library dependency on the doctests test suite

0.7.1

  • Revamp Setup.hs to use cabal-doctest. This makes it build with Cabal-2.0, and makes the doctests work with cabal new-build and sandboxes.

0.7

  • Support for newer bifunctors, cereal, deepseq, generic-deriving, semigroupoid and vector dependencies.`

0.6

  • Updated for lens 4.
  • Bug fix in (/=)

0.4.1

  • Marked this package Trustworthy.

0.4

  • Added NFData and Serial instances

0.3

  • Major version bump due to large semantics change in log-domain.

0.2.0.1

  • Wider generic-deriving version bounds for GHC HEAD compatibility.

0.2

  • Added a Hashable instance.

0.1.1.1

  • Wider binary version bounds.

0.1.1

  • Fixed a bug in the Setup.lhs postHaddock hook.
  • Reformatted haddocks

0.1

comments powered byDisqus