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 does not work correctly with a ghc that has been compiled with integer-gmp. When using ghc, this library will require that the ghc is compiled with integer-simple.

The library includes a mutable interface in addition to the pure one. These functions should have a lot less overhead than the pure ones.

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

[Skip to Readme]


Versions 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.4.0,,, 0.4.1, 0.4.2,
Change log ChangeLog
Dependencies base (>3 && <5), integer-simple [details]
License BSD3
Author Aleš Bizjak, Michal Konečný
Maintainer Michal Konečný <>
Stability experimental
Category Data, Math
Home page
Uploaded Mon Feb 28 12:23:46 UTC 2011 by MichalKonecny
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 3559 total (20 in the last 30 days)
1 []
Status Docs not available [build log]
All reported builds failed as of 2016-12-28 [all 6 reports]


  • Data
    • Number
      • Data.Number.MPFR
        • Instances
          • Data.Number.MPFR.Instances.Down
          • Data.Number.MPFR.Instances.Near
          • Data.Number.MPFR.Instances.Up
          • Data.Number.MPFR.Instances.Zero
        • Data.Number.MPFR.Mutable


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hmpfr

Readme for hmpfr-0.3.2

Haskell MPFR binding.

If you find bugs or have any questions please write to <>.