aern2-mp: Multi-precision floats via MPFR

[ bsd3, library, math ] [ Propose Tags ]

Arbitrary-precision dyadic numbers and interval arithmetic, via the types:

  • Dyadic: variable-precision floats with exact ring operations

  • MPBall: float ± error bound with field & elementary (interval-like) operations

By default, using hmpfr when compiling with ghc >=7.10. Older versions of ghc are no longer tested.

Set flag MPFRRounded to bind MPFR not via hmpfr but via a tweaked version of package rounded:

This backend is considerably faster than hmpfr. It is likely to become the default in future.

There is a plan to add an Integer-only backend so that this library can be used without MPFR.

Flags

Automatic Flags
NameDescriptionDefault
mpfr

Use a MPFR backend (default); Integer backend is planned

Enabled
mpfrrounded

Use rounded (Numeric.RoundedSimple) as MPFR backend (not default)

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.0, 0.1.0.1, 0.1.1.0, 0.1.2.0, 0.1.3.0, 0.1.3.1, 0.1.4, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.2.2.0, 0.2.3.0, 0.2.4.0, 0.2.5.0, 0.2.6.0, 0.2.7.0, 0.2.8.0, 0.2.9.0, 0.2.9.1, 0.2.10.0, 0.2.11.0, 0.2.14.0, 0.2.15.0, 0.2.15.1 (info)
Dependencies base (>=4 && <5), convertible (>=1.1.1.0 && <1.2), haskell-mpfr (>=0.1 && <0.2), hmpfr (>=0.4 && <0.5), hspec (>=2.1 && <2.5), integer-gmp (<0.6 || >=1.0 && <1.1), integer-logarithms (>=1.0 && <1.1), lens (>=4.13 && <4.16), mixed-types-num (>=0.3.1 && <0.4), QuickCheck (>=2.7 && <2.10), regex-tdfa (>=1.2.1 && <1.3), rounded (>=0.1 && <0.2), template-haskell [details]
License BSD-3-Clause
Copyright (c) 2015-2017 Michal Konecny
Author Michal Konecny
Maintainer Michal Konecny <mikkonecny@gmail.com>
Category Math
Home page https://github.com/michalkonecny/aern2/aern2-mp
Source repo head: git clone https://github.com/mikkonecny/aern2.git(aern2-mp)
Uploaded by MichalKonecny at 2017-09-12T14:08:29Z
Distributions LTSHaskell:0.2.15.1, NixOS:0.2.15.1, Stackage:0.2.15.1
Reverse Dependencies 5 direct, 0 indirect [details]
Downloads 7663 total (75 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-09-12 [all 1 reports]