float_mantissa

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 mantissa =
    float_mantissa(float_one());

📘Hint

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

Parameters

Name
Type
Description

f1

bigint

The float to retrieve the mantissa from.

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

Last updated

Was this helpful?