hmpfr-0.1.1: Haskell binding to MPFR library

Portabilitynon-portable
Stabilityexperimental
Maintainerales.bizjak0@gmail.com

Data.Number.MPFR.Misc

Description

Functions that don't belong anywhere else. See MPFR manual for detailed documentation.

Synopsis

Documentation

random2 :: Precision -> MpSize -> Exp -> IO MPFRSource

getMantissa :: MPFR -> IntegerSource

getMantissa and getExp return values such that

 d = getMantissa d * 2^(getExp d - Prelude.ceiling ((getPrec d) / bitsPerMPLimb)* bitsPerMPLimb )