- Compute an XFL (xls17) floating point from the provided exponent and mantissa
- Return that XFL as an int64_t
int64_t float_set ( int32_t exponent, int64_t mantissa );
int64_t small_amount = float_set(-81, 1);
An exponent in the range
A mantissa. If negative then the sign of the float is negative.
When setting a mantissa that is greater or fewer than 16 decimal digits the exponent will be adjusted to ensure the mantissa is exactly 16 digits. This adjustment may result in an
INVALID_FLOATin some circumstances.
XFL canonical 0 is also 0 in the enclosing number. Thus there is never a need to call
The XFL (xls17) enclosing number
If negative, an error: