| IEEESPAbs() | IEEESPAdd() | IEEESPCeil() | IEEESPCmp() |
| IEEESPDiv() | IEEESPFix() | IEEESPFloor() | IEEESPFlt() |
| IEEESPMul() | IEEESPNeg() | IEEESPSub() | IEEESPTst() |
float IEEESPAbs(
float y );
Calculate the absolute value of a given floating point number
absolute value of y Flags: zero : result is zero negative : result is negative overflow : 0
float IEEESPAdd(
float y,
float z );
Calculate the sum of two IEEE single precision numbers
sum of y and z Flags: zero : result is zero negative : result is negative overflow : result is too large or too small for IEEESP format
float IEEESPCeil(
float y );
Calculate the least integer ieeesp-number greater than or equal to y
Flags: zero : result is zero negative : result is negative overflow : 0
LONG IEEESPCmp(
LONG y,
LONG z );
Compares two ieeesp numbers
+1 : y > z 0 : y = z -1 : y < z Flags: zero : y = z negative : y < z overflow : 0
float IEEESPDiv(
float y,
float z );
Divide two IEEE single precision floating point numbers x = y / z;
Flags: zero : result is zero negative : result is negative overflow : result is out of range
LONG IEEESPFix(
float y );
Convert ieeesp-number to integer
absolute value of y Flags: zero : result is zero negative : result is negative overflow : ieeesp out of integer-range
float IEEESPFloor(
float y );
Calculate the largest integer ieeesp-number less than or equal to fnum
IEEE single precision floating point Flags: zero : result is zero negative : result is negative overflow : 0 (???)
IEEESPFloor(10.5) = 10 IEEESPFloor(0.5) = 0 IEEESPFloor(-0.5) = -1 IEEESPFloor(-10.5)= -11
float IEEESPFlt(
LONG y );
Flags: zero : result is zero negative : result is negative overflow : IEEE single precision number is not exactly the integer
float IEEESPMul(
float y,
float z );
Multiply two IEEE single precision numbers res = y * z;
Flags: zero : result is zero negative : result is negative overflow : result is out of range
float IEEESPNeg(
float y );
Switch the sign of the given ieeesp number
-y Flags: zero : result is zero negative : result is negative overflow : 0
float IEEESPSub(
float y,
float z );
Subtract two ieeesp numbers x = y-z;
Flags: zero : result is zero negative : result is negative overflow : result is out of range
LONG IEEESPTst(
float y );
Compare a ieeesp-number against zero.
+1 : y > 0.0 0 : y = 0.0 -1 : y < 0.0 Flags: zero : result is zero negative : result is negative overflow : 0