hmpfr-0.2.1: Haskell binding to MPFR librarySource codeContentsIndex
Data.Number.MPFR.Comparison
Portabilitynon-portable
Stabilityexperimental
Maintainerales.bizjak0@gmail.com
Description
Comparison functions. All the functions that return Maybe Ordering return Nothing when one of the operands is NaN and Just _ otherwise.
Documentation
cmp :: MPFR -> MPFR -> Maybe OrderingSource
cmpw :: MPFR -> Word -> Maybe OrderingSource
cmpi :: MPFR -> Int -> Maybe OrderingSource
cmpd :: MPFR -> Double -> Maybe OrderingSource
cmp2w :: MPFR -> Word -> Exp -> Maybe OrderingSource
cmp2i :: MPFR -> Int -> Exp -> Maybe OrderingSource
cmpabs :: MPFR -> MPFR -> Maybe OrderingSource
isNaN :: MPFR -> BoolSource
isInfinite :: MPFR -> BoolSource
isNumber :: MPFR -> BoolSource
isZero :: MPFR -> BoolSource
sgn :: MPFR -> Maybe IntSource
greater :: MPFR -> MPFR -> BoolSource
greatereq :: MPFR -> MPFR -> BoolSource
less :: MPFR -> MPFR -> BoolSource
lesseq :: MPFR -> MPFR -> BoolSource
lessgreater :: MPFR -> MPFR -> Maybe BoolSource
equal :: MPFR -> MPFR -> BoolSource
unordered :: MPFR -> MPFR -> Maybe BoolSource
Produced by Haddock version 2.4.2