IEEEDPAdd()
Synopsis
double IEEEDPAdd(
double y,
double z );
Function
Calculate the sum of two IEEE double precision numbers.
Inputs
y - first addend.
z - first addend.
Result
x - sum of y and z.
Flags:
zero : result is zero
negative : result is negative
overflow : result is too large or too small for IEEE DP format
IEEEDPCeil()
Synopsis
double IEEEDPCeil(
double y );
Function
Calculates the ceiling value of an IEEE double precision number.
Inputs
y - IEEE double precision floating point number.
Result
x - ceiling of y.
Flags:
zero : result is zero
negative : result is negative
overflow : 0
IEEEDPCmp()
Synopsis
LONG IEEEDPCmp(
double y,
double z );
Function
Compares two IEEE double precision numbers.
Inputs
y - IEEE double precision floating point number.
z - IEEE double precision floating point number.
Result
c -
+1: y > z
0: y = z
-1: y < z
Flags:
zero : y = z
negative : y < z
overflow : 0
IEEEDPFix()
Synopsis
LONG IEEEDPFix(
double y );
Function
Converts an IEEE double precision floating point number to an integer.
Inputs
y - IEEE double precision floating point number.
Result
x - the closest signed 32-bit integer to y.
Flags:
zero : result is zero
negative : result is negative
overflow : ieeedp out of integer-range