float_sign
Concepts
Section titled “Concepts”Behaviour
Section titled “Behaviour”- Return
1
if the XFL is negative, otherwise return 0
- Return 1 if the XFL is negative, otherwise return 0
Definition
Section titled “Definition”int64_t float_sign ( int64_t float1);
function float_sign(f1: bigint): ErrorCode | number
Example
Section titled “Example”int64_t sign = float_sign(float_one());
const sign = float_sign(float_one());
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
float1 | int64_t | An XFL floating point enclosing number |
Name | Type | Description |
---|---|---|
f1 | bigint | The float to retrieve the mantissa from. |
Return Code
Section titled “Return Code”Type | Description |
---|---|
int64_t | The sign of the XFL: |
Type | Description |
---|---|
bigint or ErrorCode | An error code or the mantissa as a bigint. |