Multi-precision ball (interval) arithmetic

Version on this page:
LTS Haskell 22.11:
Stackage Nightly 2024-02-22:
Latest on Hackage:

See all snapshots aern2-mp appears in

BSD-3-Clause licensed by Michal Konecny
Maintained by Michal Konecny
This version can be pinned in stack with:aern2-mp-,3150

This package provides the following types:

  • Dyadic: variable-precision floats with exact ring operations

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

The types have instances of both MixedTypeNumPrelude type classes as well as with traditional Prelude type classes.

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


Change log for aern2-mp

  • v 2018-11-21
    • small fixes, mainly documentation
  • v 2018-11-20
    • only one MPFR backend - rounded
    • reduce backend-specific code
  • v 2017-11-14
    • fix compilation with haskell-mpfr
  • v 2017-11-14
    • using Claude Heiland-Allen’s Numeric.Rounded.Simple
  • v 2017-09-12
    • first release on Hackage
    • backends: hmpfr and (tweaked) rounded