float_mantissa
Concepts
Section titled “Concepts”Behaviour
Section titled “Behaviour”- Return the mantissa part of an XFL as an unsigned integer
- Retrieves the mantissa of a float representation.
- An error code or the mantissa as a bigint.
Definition
Section titled “Definition”int64_t float_mantissa ( int64_t float1);
function float_mantissa(f1: bigint): ErrorCode | bigint
Example
Section titled “Example”int64_t mantissa = float_mantissa(float_one());
const mantissa = float_mantissa(float_one());
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
f1 | bigint | The float to retrieve the mantissa from. |
Name | Type | Description |
---|---|---|
float1 | int64_t | An XFL floating point enclosing number |
Return Code
Section titled “Return Code”Type | Description |
---|---|
int64_t | The mantissa of the XFL |
Type | Description |
---|---|
bigint or ErrorCode | An error code or the mantissa as a bigint. |