compensated: Compensated floating-point arithmetic

[ bsd3, library, numeric ] [ Propose Tags ] [ Report a vulnerability ]

This package provides compensated floating point arithmetic.


[Skip to Readme]

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.6), distributive (>=0.3 && <1), hashable (>=1.1.2.3 && <1.6), lens (>=4 && <6), log-domain (>=0.9 && <1), safecopy (>=0.8.1 && <0.11), semigroupoids (>=5 && <7), semigroups (>=0.8.4 && <1), vector (>=0.9 && <0.14) [details]
Tested with ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.3, ghc ==8.10.1
License BSD-3-Clause
Copyright Copyright (C) 2013 Edward A. Kmett
Author Edward A. Kmett
Maintainer Edward A. Kmett <ekmett@gmail.com>
Revised Revision 5 made by ryanglscott at 2024-07-06T00:09:30Z
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 2021-02-21T13:11:14Z
Distributions LTSHaskell:0.8.3, NixOS:0.8.3, Stackage:0.8.3
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 13564 total (51 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 2021-02-21 [all 1 reports]

Readme for compensated-0.8.3

[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