Data.Deka.Quad

Quad

data Quad

data QuadT

Rounding

data Round

roundCeiling

roundUp

roundHalfUp

roundHalfEven

roundHalfDown

roundDown

roundFloor

round05Up

Flags

data Flag

divisionUndefined

divisionByZero

divisionImpossible

invalidOperation

inexact

underflow

overflow

conversionSyntax

data Flags

unFlags

setFlag

clearFlag

checkFlag

emptyFlags

Ctx monad

data Ctx a

getStatus

setStatus

mapStatus

getRound

setRound

runCtx

evalCtx

Class

data DecClass

sNan

qNan

negInf

negNormal

negSubnormal

negZero

posZero

posSubnormal

posNormal

posInf

decClass

Converting to and from strings

fromByteString

toByteString

toEngByteString

Converting to and from integers

fromInt32

fromUInt32

toInt32

toInt32Exact

toUInt32

toUInt32Exact

Arithmetic

add

subtract

multiply

fma

divide

divideInteger

remainder

remainderNear

Exponent and coefficient adjustment

quantize

reduce

Comparisons

compare

compareOrd

compareSignal

compareTotal

compareTotalMag

max

maxMag

min

minMag

sameQuantum

Tests

isFinite

isInfinite

isInteger

isLogical

isNaN

isNegative

isNormal

isPositive

isSignaling

isSigned

isSubnormal

isZero

Signs

plus

minus

abs

copySign

Increment and decrement

nextMinus

nextPlus

nextToward

Digit-wise

and

or

xor

invert

shift

rotate

log and scale

logB

scaleB

Attributes

digits

Integral rounding

toIntegralExact

toIntegralValue

Constants

zero

one

version

Complete encoding and decoding

Digits

data Digit

digitToInt

intToDigit

digitToChar

digitsToInteger

integralToDigits

Coefficients

coefficientLen

payloadLen

data Coefficient

coefficient

unCoefficient

zeroCoefficient

oneCoefficient

data Payload

payload

unPayload

zeroPayload

Exponents

data Exponent

exponent

unExponent

zeroExponent

minMaxExp

data AdjustedExp

adjustedExp

unAdjustedExp

minNormalAdj

minNormalExp

adjustedToExponent

Sign, NaN, Value, Decoded

data Sign

data NaN

data Value

data Decoded

fromBCD

toBCD

scientific

ordinary

decodedToRational

Decoded predicates

Duplicates of Quad tests that return Bool

dIsFinite

dIsInfinite

dIsInteger

dIsLogical

dIsNaN

dIsNegative

dIsNormal

dIsPositive

dIsSignaling

dIsSigned

dIsSubnormal

dIsZero

dDigits

Duplicates of Quad tests that return DecClass

dIsSNaN

dIsQNaN

dIsNegInf

dIsNegNormal

dIsNegSubnormal

dIsNegZero

dIsPosZero

dIsPosSubnormal

dIsPosNormal

dIsPosInf