float_log
Concepts
Section titled “Concepts”Behaviour
Section titled “Behaviour”- Compute a the decimal logarithm of an XFL number
- Return the new XFL
- Calculates the logarithm of a float representation.
- Returns an error code or the logarithm as a bigint.
Definition
Section titled “Definition”int64_t float_log ( int64_t float1);
function float_log(f1: bigint): ErrorCode | bigint
Example
Section titled “Example”int64_t zero = float_log(float_one());
const zero = float_log(float_one())
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
float1 | int64_t | An XFL floating point enclosing number representing the floating point number to take the logarithm of |
Name | Type | Description |
---|---|---|
f1 | bigint | The float to calculate the logarithm of. |
Return Code
Section titled “Return Code”Type | Description |
---|---|
int64_t | The computed logarithm |
Type | Description |
---|---|
bigint or ErrorCode | Returns an error code or the logarithm as a bigint. |