# math.log

From Garry's Mod

## Contents |

# Description

With one argument, return the natural logarithm of x (to base e).

With two arguments, return the logarithm of x to the given base, calculated as log(x)/log(base).

# Arguments

number x

The value to get the base from exponent from.

# Arguments

# Returns

Logarithm of x to the given base