LOG

Function

LOG generates the logarithm to base 10 of X.

Syntax

LOG(N)

where N is a numeric expression.

Examples

LOG (32)

generates the logarithm to base 10 of 32.

If S=1.319 then:

LOG(S)

generates the logarithm to base 10 of 1.319.

LOG(-6)

generates a ‘Magnitude Error’ and programme execution will stop.

Remarks

X must be greater than zero.

If X is negative or equal to zero then a ‘Magnitude Error’ will occur.

X may be an expression.