compensated: Compensated floating-point arithmetic

[ bsd3, library, numeric ] [ Propose Tags ]

This package provides compensated floating point arithmetic.


[Skip to Readme]

Modules

[Index]

Flags

Manual Flags

NameDescriptionDefault
test-doctestsEnabled
lib-werrorDisabled

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.3 && <5), bifunctors (>=4 && <5), binary (>=0.5 && <0.8), bytes (>=0.7 && <1), cereal (>=0.3.5 && <0.4), comonad (>=4 && <5), deepseq (>=1.3 && <1.5), distributive (>=0.3 && <1), generic-deriving (>=1.4 && <1.6), hashable (>=1.1.2.3 && <1.3), lens (>=3.8 && <4), log-domain (>=0.8 && <0.13), safecopy (>=0.8.1 && <0.9), semigroupoids (>=4 && <5), semigroups (>=0.8.4 && <1), vector (>=0.9 && <0.11) [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 2019-11-24T14:43:45Z
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 EdwardKmett at 2013-10-14T04:43:29Z
Distributions LTSHaskell:0.8.3, NixOS:0.8.3, Stackage:0.8.3
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 13181 total (51 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]

Readme for compensated-0.5

[back to package description]

compensated

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