IEEE rounding modes. The default mode is ROUNDTONEAREST.
Create a NaN, storing an integer inside the payload.
Return a value composed of to with from's sign bit.
Calculate cos(y) + i sin(y).
Returns |x|
Returns the positive difference between x and y.
To what precision is x equal to y?
Returns (x * y) + z, rounding only once according to the current rounding mode.
Separate floating point value into significand and exponent.
Get the IEEE rounding mode which is in use.
Extract an integral payload from a NaN.
Return the value that lies halfway between x and y on the IEEE number line.
Extracts the exponent of x as a signed integral value.
Is the binary representation of x identical to y?
Return !=0 if e is $(PLUSMNINF);.
Returns !=0 if e is a NaN.
Returns !=0 if x is normalized.
Is number subnormal? (Also called "denormal".) Subnormals have a 0 exponent and a 0 most significant significand bit, but are non-zero.
Return !=0 if x is ±0.
Compute n * 2$(SUP exp) References: frexp
Extracts the exponent of x as a signed integral value.
Calculate the next smallest floating point value before x.
Calculate the next largest floating point value after x.
Calculate the next smallest floating point value before x.
Calculate the next largest floating point value after x.
Calculate the next largest floating point value after x.
Calculates the next representable value after x in the direction of y.
Set the number of bits of precision used by 'real'.
Set all of the floating-point status flags to false.
Efficiently calculates x * 2$(SUP n).
Change the rounding mode used for all floating-point operations.
Return 1 if sign bit of e is set, 0 if not.
Reduces the magnitude of x, so the bits in the lower half of its significand are all zero. Returns the amount which needs to be added to x to restore its initial value; this amount will also have zeros in all bits in the lower half of its significand.
Return a snapshot of the current state of the floating-point status flags.
IEEE exception status flags