aern2-mp: Multi-precision ball (interval) arithmetic

[ bsd3, library, math ] [ Propose Tags ]

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.


[Last Documentation]

  • AERN2
    • AERN2.MP
      • AERN2.MP.Accuracy
      • AERN2.MP.Ball
        • AERN2.MP.Ball.Comparisons
        • AERN2.MP.Ball.Conversions
        • AERN2.MP.Ball.Elementary
        • AERN2.MP.Ball.Field
        • AERN2.MP.Ball.PreludeOps
        • AERN2.MP.Ball.Tests
        • AERN2.MP.Ball.Type
      • AERN2.MP.Dyadic
      • AERN2.MP.Enclosure
      • AERN2.MP.ErrorBound
      • AERN2.MP.Float
        • AERN2.MP.Float.Constants
        • AERN2.MP.Float.Operators
        • AERN2.MP.Float.Tests
        • UseRounded
          • AERN2.MP.Float.UseRounded.Arithmetic
          • AERN2.MP.Float.UseRounded.Conversions
          • AERN2.MP.Float.UseRounded.RoundedAdaptor
          • AERN2.MP.Float.UseRounded.Type
      • AERN2.MP.Precision
    • AERN2.Norm
    • AERN2.Normalize
    • Utils
      • AERN2.Utils.Bench


Automatic Flags

Use an integer-only backend (work in progress, not default)


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,, 0.1.4,,,,,,,,,,,,,,,, (info)
Change log
Dependencies base (>=4 && <5), cdar, convertible, hspec, integer-logarithms, lens, mixed-types-num, QuickCheck, regex-tdfa, rounded (>=0.1 && <0.2), template-haskell [details]
License BSD-3-Clause
Copyright (c) 2015-2018 Michal Konecny
Author Michal Konecny
Maintainer Michal Konecny <>
Category Math
Home page
Source repo head: git clone
Uploaded by MichalKonecny at 2018-11-21T13:06:46Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 5 direct, 0 indirect [details]
Downloads 7205 total (57 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-11-21 [all 3 reports]