SPDiv()
Synopsis
float SPDiv(
float fnum1,
float fnum2 );
Function
Divide two ffp numbers
fnum = fnum2 / fnum1;
Result
Flags:
zero : result is zero
negative : result is negative
overflow : result is out of range
Bugs
The parameters are swapped!
SPFloor()
Synopsis
float SPFloor(
float y );
Function
Calculate the largest integer ffp-number
less than or equal to fnum
Result
FFP number
Flags:
zero : result is zero
negative : result is negative
overflow : 0 (???)
Example
floor(10.5) = 10
floor(0.5) = 0
floor(-0.5) = -1
floor(-10.5)= -11