logx()

Scalar. Returns the logarithm of a given value to a specified base.

Syntax

logx ( value, base )

Parameters

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.

Usage

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.

Example

logx (8.0, 2.0) returns 3.0.