IEEE floating point types.
Methods
infinity :: aInfinity value.
minDenormal :: aThe smallest representable positive value.
minNormal :: aThe smallest representable positive normalized value.
maxFinite :: aThe largest representable finite value.
epsilon :: aThe smallest positive value
xsuch that1 + xis representable.copySign :: a -> a -> acopySign x yreturnsxwith its sign changed toy's.identicalIEEE :: a -> a -> BoolReturn True if two values are exactly (bitwise) equal.
succIEEE :: a -> aReturn the next largest IEEE value (
InfinityandNaNare unchanged).predIEEE :: a -> aReturn the next smallest IEEE value (
-InfinityandNaNare unchanged).bisectIEEE :: a -> a -> aGiven two values with the same sign, return the value halfway between them on the IEEE number line. If the signs of the values differ or either is
NaN, the value is undefined.sameSignificandBits :: a -> a -> IntThe number of significand bits which are equal in the two arguments (equivalent to
feqrelfrom the Tango Math library). The result is between0andfloatDigits.nan :: aDefault
NaNvalue.nanWithPayload :: Word64 -> aQuiet
NaNvalue with a positive integer payload. Payload must be less than maxNaNPayload. Beware that while some platforms allow using0as a payload, this behavior is not portable.maxNaNPayload :: a -> Word64Maximum
NaNpayload for typea.nanPayload :: a -> Word64The payload stored in a
NaNvalue. Undefined if the argument is notNaN.