Data.Approximate.MPFRLowLevel

Types

data RoundMode

type Precision

data Rounded

Assignment functions

set

posInf

negInf

zero

negZero

nan

fromInt

fromIntegerA

fromDouble

fromRationalA

fromInteger2Exp

readRounded

Conversion functions

toRationalA

toDoubleA

toDouble2Exp

toInteger2Exp

toRawStringExp

toStringHex

toStringBin

toStringSci

toStringFix

toString

toStringReadback

fitsSInt

fitsSLong

fitsSShort

fitsUInt

fitsULong

fitsUShort

Arithmetic functions

add

sub

mul

div

neg

sqr

sqrt

pow

recSqrt

cbrt

abs

dim

mul2i

div2i

root

Comparison functions

isNaN

isInfinite

isZero

cmp

cmpAbs

sgn

isNumber

isRegular

min

max

equal

notEqual

less

greater

lessEq

greaterEq

unordered

Special functions

log

log2

log10

exp

exp2

exp10

cos

sin

tan

sincos

sec

csc

cot

acos

asin

atan

atan2

cosh

sinh

tanh

sinhcosh

sech

csch

coth

acosh

asinh

atanh

log1p

expm1

eint

li2

gamma

lngamma

digamma

zeta

erf

erfc

j0

j1

y0

y1

fma

fms

agm

hypot

ai

log2c

pi

euler

catalan

facw

zetaw

jn

yn

lgamma

Integer functions

rint

ceil

floor

round

trunc

rintCeil

rintFloor

rintRound

rintTrunc

frac

modf

fmod

remainder

isInteger

remquo

Miscellaneous functions

nextAbove

nextBelow

nextToward

copySign

getPrec

getExp