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

Name

Type

Description

float1

int64_t

An XFL floating point enclosing number

Return Code

Type

Description

int64_t

The mantissa of the XFL

If negative, an error:
INVALID_FLOAT

  • the supplied parameter was not a valid XFL enclosing number