Κεντρική
Česky
Deutsch
Ελληυικά
English
Español
Français
Italiano
Nederlands
Polski
Português
Русский
Suomi
Svenska
Ειδήσεις
Εισαγωγή
Λήψη
Φωτογραφίες
Τεκμηρίωση
Επικοινωνία
Συντελεστές
Αναγνωρίσεις
Σπόνσορες
Συνδεθείτε μαζί μας
Συνδέσεις
Index
float SPAbs( float fnum1 );
Calculate the absolute value of a given floating point number
absolute value of fnum1 Flags: zero : result is zero negative : result is negative overflow : 0
float SPAdd( float fnum1, float fnum2 );
Calculate the sum of two ffp numbers
sum of fnum1 and fnum2. Flags: zero : result is zero negative : result is negative overflow : result is too large or too small for ffp format
float SPCeil( float y );
Calculate the least integer ffp-number greater than or equal to fnum1
Flags: zero : result is zero negative : result is negative overflow : 0
LONG SPCmp( float fnum1, float fnum2 );
Compares two FFP numbers.
+1 : fnum1 > fnum2 0 : fnum1 = fnum2 -1 : fnum1 < fnum2 Flags: zero : fnum2 = fnum1 negative : fnum2 < fnum1 overflow : 0
float SPDiv( float fnum1, float fnum2 );
Divide two ffp numbers fnum = fnum2 / fnum1;
Flags: zero : result is zero negative : result is negative overflow : result is out of range
The parameters are swapped!
LONG SPFix( float fnum );
Convert ffp-number to integer
absolute value of fnum1 Flags: zero : result is zero negative : result is negative overflow : ffp out of integer-range
float SPFloor( float y );
Calculate the largest integer ffp-number less than or equal to fnum
FFP number Flags: zero : result is zero negative : result is negative overflow : 0 (???)
floor(10.5) = 10 floor(0.5) = 0 floor(-0.5) = -1 floor(-10.5)= -11
float SPFlt( LONG inum );
FFP number Flags: zero : result is zero negative : result is negative overflow : ffp is not exactly the integer
float SPMul( float fnum1, float fnum2 );
Multiply two ffp numbers fnum = fnum1 * fnum2;
FFP number Flags: zero : result is zero negative : result is negative overflow : result is out of range
float SPNeg( float fnum1 );
Calculate fnum1*(-1)
-fnum1 Flags: zero : result is zero negative : result is negative overflow : 0
float SPSub( float fnum1, float fnum2 );
Subtract two floating point numbers fnum = fnum2 - fnum1;
SPAdd()
LONG SPTst( float fnum );
Compare a ffp-number against zero.
+1 : fnum > 0.0 0 : fnum = 0.0 -1 : fnum < 0.0 Flags: zero : result is zero negative : result is negative overflow : 0