aern2-mp: Multi-precision floats via MPFR
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.
Versions [faq] | 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 |
---|---|
Change log | changelog.md |
Dependencies | base (==4.*), convertible, haskell-mpfr (==0.1.*), hmpfr (==0.4.*), hspec, integer-gmp (<0.6 || ==1.0.*), integer-logarithms, lens, mixed-types-num, QuickCheck, regex-tdfa, rounded (==0.1.*), template-haskell [details] |
License | BSD-3-Clause |
Copyright | (c) 2015-2017 Michal Konecny |
Author | Michal Konecny |
Maintainer | Michal Konecny <mikkonecny@gmail.com> |
Revised | Revision 1 made by MichalKonecny at 2017-11-14T16:46:43Z |
Category | Math |
Home page | https://github.com/michalkonecny/aern2 |
Source repo | head: git clone https://github.com/mikkonecny/aern2.git(aern2-mp) |
Uploaded | by MichalKonecny at 2017-11-14T16:22:35Z |
Distributions | LTSHaskell:0.1.3.1, NixOS:0.1.4 |
Downloads | 3939 total (23 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-11-14 [all 1 reports] |
Modules
[Index]
Flags
Name | Description | Default | Type |
---|---|---|---|
mpfr | Use a MPFR backend (default); Integer backend is planned | Enabled | Automatic |
mpfrrounded | Use rounded (Numeric.RoundedSimple) as MPFR backend (not default) | Disabled | Automatic |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- aern2-mp-0.1.2.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.