Divide one by an XFL floating point number

Concepts

Behaviour

  • Divide 1 by an XFL
  • Return a new XFL as an int64_t

Definition

int64_t float_invert (
    int64_t float1
);

Example

int64_t still_one =
    float_invert(float_one());

Parameters

NameTypeDescription
float1int64_tAn XFL floating point enclosing number

Return Code

TypeDescription
int64_tThe XFL (xls17) enclosing number

If negative, an error:
INVALID_FLOAT
- the supplied parameter was not a valid XFL enclosing number or the division resulted in an XFL that cannot be represented.

DIVISION_BY_ZERO
- the supplied parameter was zero.