float_invert
Concepts
Section titled “Concepts”Behaviour
Section titled “Behaviour”- Inverts a float representation.
- Return a inverted float as a bigint or an ErrorCode
- Divide
1
by an XFL - Return a new XFL as an int64_t
Definition
Section titled “Definition”int64_t float_invert ( int64_t float1);
function float_invert(f1: bigint): ErrorCode | bigint
Example
Section titled “Example”int64_t still_one = float_invert(float_one());
const still_one = float_invert(float_one())
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
float1 | int64_t | An XFL floating point enclosing number |
Name | Type | Description |
---|---|---|
f1 | float | The float to invert |
Return Code
Section titled “Return Code”Type | Description |
---|---|
int64_t | The XFL (xls17) enclosing number |
Type | Description |
---|---|
ErrorCode | bigint | An error code or the inverted float as a bigint. |