FloatMgr.h
.
FloatType FplAdd (FloatType a, FloatType b)
FloatType FplAToF (char* s)
FplFToA
Err FplBase10Info (FloatType a, ULong* mantissaP, Int* exponentP, Int* signP)
  |
|
The floating-point number. |
  |
|
The base 10 mantissa (return value). |
  |
|
The base 10 exponent (return value). |
  |
|
The sign, 1 or -1 (return value). |
kMaxSignificantDigits
significant digits when printed as an integer value.
FlpBase10Info
reports that zero is "negative"; that is, it returns a one for xSign. If this is a problem, a simple workaround is:
if (xMantissa == 0) {
xSign = 0;
FloatType FplDiv (FloatType dividend, FloatType divisor)
Long FplFloatToLong (FloatType f)
ULong FplFloatToULong (FloatType f)
void FplFree()
FplInit
[-]x.yyyyyyyye[-]zz
Err FplFToA (FloatType a, char* s)
FplAToF
tenPowers
array in the globals area to the powers of 10 from -99 to +99 in floating-point format.
Err FplInit()
Fpl
function.
FplFree
FloatType FplLongToFloat (Long x)
FloatType FplMul (FloatType a, FloatType b)
FloatType FplSub (FloatType a, FloatType b)
  |   |