Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | ales.bizjak0@gmail.com |
Functions that don't belong anywhere else. See MPFR manual for detailed documentation.
- nextToward :: MPFR -> MPFR -> MPFR
- nextAbove :: MPFR -> MPFR
- nextBelow :: MPFR -> MPFR
- maxD :: RoundMode -> Precision -> MPFR -> MPFR -> MPFR
- minD :: RoundMode -> Precision -> MPFR -> MPFR -> MPFR
- random2 :: Precision -> MpSize -> Exp -> IO MPFR
- getExp :: MPFR -> Exp
- setExp :: MPFR -> Exp -> MPFR
- signbit :: MPFR -> Bool
- maxD_ :: RoundMode -> Precision -> MPFR -> MPFR -> (MPFR, Int)
- minD_ :: RoundMode -> Precision -> MPFR -> MPFR -> (MPFR, Int)
- getPrec :: MPFR -> Precision
- getMantissa :: MPFR -> Integer
- one :: MPFR
- zero :: MPFR
- maxPrec :: MPFR -> MPFR -> Precision
Documentation
nextToward :: MPFR -> MPFR -> MPFRSource
getMantissa :: MPFR -> IntegerSource
getMantissa and getExp return values such that
d = getMantissa d * 2^(getExp d - Prelude.ceiling ((getPrec d) / bitsPerMPLimb)* bitsPerMPLimb )