These docs are for v2.0. Click to read the latest docs for v3.0.

Get the mantissa of an XFL enclosing number

Concepts

Behaviour

  • Return the mantissa part of an XFL as an unsigned integer

Definition

int64_t float_mantissa (
    int64_t float1
);

Example

int64_t exponent =
    float_exponent(float_one());

📘

Hint

The mantissa of a negative XFL is positive. Use float_sign to get the sign.

Parameters

NameTypeDescription
float1int64_tAn XFL floating point enclosing number

Return Code

TypeDescription
int64_tThe mantissa of the XFL

If negative, an error:
INVALID_FLOAT
- the supplied parameter was not a valid XFL enclosing number