hmpfr: Haskell binding to the MPFR library

[ bsd3, data, library, math ] [ Propose Tags ] [ Report a vulnerability ]

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.


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
use-integer-simple

Use 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

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.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, 0.4.0, 0.4.0.1, 0.4.0.2, 0.4.1, 0.4.2, 0.4.2.1, 0.4.3, 0.4.4, 0.4.5
Change log ChangeLog
Dependencies base (>3 && <5), integer-gmp, integer-simple [details]
Tested with ghc ==6.12.3, ghc ==7.2.2, ghc ==7.4.1
License BSD-3-Clause
Author Aleš Bizjak, Michal Konečný
Maintainer Michal Konečný <mikkonecny@gmail.com>
Category Data, Math
Home page http://code.google.com/p/hmpfr/
Source repo head: hg clone https://code.google.com/p/hmpfr/
this: hg clone https://code.google.com/p/hmpfr/ -u release-0.3.3.4
Uploaded by MichalKonecny at 2012-02-13T10:05:50Z
Distributions LTSHaskell:0.4.5, NixOS:0.4.5, Stackage:0.4.5
Reverse Dependencies 4 direct, 10 indirect [details]
Downloads 18173 total (166 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hmpfr-0.3.3.4

[back to package description]
Haskell MPFR binding.

If you find bugs or have any questions please write to <ales.bizjak0@gmail.com>.