The compensated package

[ Tags: bsd3, library, numeric ] [ Propose Tags ]

This package provides compensated floating point arithmetic.


[Skip to Readme]

Properties

Versions 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
Change log CHANGELOG.markdown
Dependencies base (>=4.3 && <5), bifunctors (>=3.2 && <4), binary (==0.5.*), cereal (>=0.3.5 && <0.4), comonad (==3.*), deepseq (>=1.3 && <1.5), distributive (>=0.3 && <1), generic-deriving (==1.4.*), hashable (>=1.1.2.3 && <1.3), lens (>=3.8 && <4), log-domain (>=0.3 && <1), safecopy (>=0.8.1 && <0.9), semigroupoids (>=3.0.2 && <4), semigroups (>=0.8.4 && <1), vector (>=0.9 && <0.11) [details]
License BSD3
Copyright Copyright (C) 2013 Edward A. Kmett
Author Edward A. Kmett
Maintainer Edward A. Kmett <ekmett@gmail.com>
Category Numeric
Home page http://github.com/analytics/compensated/
Bug tracker http://github.com/analytics/compensated/issues
Source repository head: git clone git://github.com/analytics/compensated.git
Uploaded Tue Mar 19 06:27:08 UTC 2013 by EdwardKmett
Distributions LTSHaskell:0.7.2, NixOS:0.7.2
Downloads 2838 total (55 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
test-doctestsEnabledManual
lib-werrorDisabledManual

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for compensated-0.1

[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