Scalar. Returns the logarithm of a given value to a specified base.
logx ( value, base )
value | An expression that evaluates to a float greater than or equal to 0. |
base | An expression that evaluates to a float greater than 1. |
Returns the logarithm of a given value to a specified base. The function expects floats for its arguments, however, integers will be promoted to floats when the function executes. The function returns a float.
logx (8.0, 2.0) returns 3.0.