Log()

MathF::Log(float) method

Returns the natural logarithm of the specified value.

static float System::MathF::Log(float x)

Arguments

ParameterTypeDescription
xfloatA float-precision floating point value

Return Value

The natural logarithm of d

MathF::Log(float, float) method

Returns the logarithm of the specified value in the specified base.

static float System::MathF::Log(float a, float newBase)

Arguments

ParameterTypeDescription
afloatA float-precision floating point value
newBasefloatThe base of the logarithm

Return Value

The logarithm of a in the newBase base

See Also