compensated: Compensated floating-point arithmetic

[ bsd3, library, numeric ] [ Propose Tags ]

This package provides compensated floating point arithmetic.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
test-doctestsEnabled

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

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.1.1.1, 0.2, 0.2.0.1, 0.3, 0.4.1, 0.5, 0.6, 0.6.1, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.8, 0.8.1, 0.8.2, 0.8.3
Change log CHANGELOG.markdown
Dependencies base (>=4.9 && <5), bifunctors (>=5 && <6), binary (>=0.5 && <0.9), bytes (>=0.7 && <1), cereal (>=0.3.5 && <0.6), comonad (>=4 && <6), deepseq (>=1.3 && <1.5), distributive (>=0.3 && <1), hashable (>=1.1.2.3 && <1.4), lens (>=4 && <5), log-domain (>=0.9 && <1), safecopy (>=0.8.1 && <0.10.4), semigroupoids (>=5 && <6), semigroups (>=0.8.4 && <1), vector (>=0.9 && <0.13) [details]
License BSD-3-Clause
Copyright Copyright (C) 2013 Edward A. Kmett
Author Edward A. Kmett
Maintainer Edward A. Kmett <ekmett@gmail.com>
Revised Revision 1 made by ryanglscott at 2021-02-21T13:00:38Z
Category Numeric
Home page http://github.com/analytics/compensated/
Bug tracker http://github.com/analytics/compensated/issues
Source repo head: git clone git://github.com/analytics/compensated.git
Uploaded by ryanglscott at 2019-11-24T15:13:06Z
Distributions LTSHaskell:0.8.3, NixOS:0.8.3, Stackage:0.8.3
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 13466 total (47 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-11-24 [all 1 reports]

Readme for compensated-0.8

[back to package description]

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