The hmpfr package

[Tags: bsd3, library]

Haskell binding to the MPFR library. This version is compatible with MPFR 2.4.* and later and will not work with previous releases of the MPFR library.

Since MPFR uses GMP, this library features infrequent but serious errors with a ghc that has been compiled with the default integer-gmp. When using ghc, it is recommended to use one compiled with a modified integer-gmp, as described at

http://code.google.com/p/hmpfr/wiki/GHCWithRenamedGMP

or with integer-simple, as described at

http://code.google.com/p/hmpfr/wiki/GHCWithoutGMP

There is a hope that at some point future versions of ghc will not need any modification for hmpfr to work with them correctly.

The library includes both a pure and a mutable interface. The mutable interface should have a lot less overhead than the pure one.

Some simple examples of usage can be found in demo/Demo.hs.


Properties

Versions0.1, 0.1.1, 0.1.2, 0.1.3, 0.2, 0.2.1, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.3.1, 0.3.3.2, 0.3.3.3, 0.3.3.4, 0.3.3.5
Dependenciesbase (>3 && <5), integer-gmp or
base (>3 && <5), integer-simple
LicenseBSD3
AuthorAleš Bizjak, Michal Konečný
MaintainerMichal Konečný <mikkonecny@gmail.com>
Stabilityexperimental
CategoryData, Math
Home pagehttp://code.google.com/p/hmpfr/
Source repositoryhead: hg clone https://code.google.com/p/hmpfr/
this: hg clone https://code.google.com/p/hmpfr/ -u release-0.3.3.4
Upload dateMon Feb 13 10:05:50 UTC 2012
Uploaded byMichalKonecny
Downloads1169 total (101 in last 30 days)

Modules

[Index]

Flags

NameDescriptionDefault
use-integer-simpleUse this when compiling using a ghc that uses integer-simple instead of integer-gmp.Disabled

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

Downloads

Maintainers' corner

For package maintainers and hackage trustees