Skip to content

float_log

Floating Point Numbers (XFL)
  • Compute a the decimal logarithm of an XFL number
  • Return the new XFL
int64_t float_log (
int64_t float1
);
int64_t zero =
float_log(float_one());
NameTypeDescription
float1int64_tAn XFL floating point enclosing number representing the floating point number to take the logarithm of
TypeDescription
int64_t

The computed logarithm

If negative, an error:
INVALID_FLOAT
- the supplied parameter was not a valid XFL enclosing number

COMPLEX_NOT_SUPPORTED
- the supplied parameter was a negative number which would result in a complex return value.