aern2-mp-0.1.2.0: Multi-precision floats via MPFR

Copyright(c) Michal Konecny
LicenseBSD3
Maintainermikkonecny@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

AERN2.MP.UseMPFR.Float

Contents

Description

Arbitrary precision floating-point numbers with up/down-rounded operations.

Currently, we use hmpfr when compiling with ghc 7.10 and higher and haskell-mpfr when compiling with ghc 7.8.

Synopsis

Precision operations

The type definition and basic operations

Arithmetic operations

distUp :: MPFloat -> MPFloat -> MPFloat Source #

Computes an upper bound to the distance |x - y| of x and y.

distDown :: MPFloat -> MPFloat -> MPFloat Source #

Computes a lower bound to the distance |x - y| of x and y.

Conversions, comparisons and norm

Infix operators for up/down-rounded operations

Constants such as NaN, infinity

Tests