Log()

Math::Log(double) method

Returns the natural logarithm of the specified value.

static double System::Math::Log(double d)

Arguments

ParameterTypeDescription
ddoubleA double-precision floating point value

Return Value

The natural logarithm of d

Math::Log(double, double) method

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

static double System::Math::Log(double a, double newBase)

Arguments

ParameterTypeDescription
adoubleA double-precision floating point value
newBasedoubleThe base of the logarithm

Return Value

The logarithm of a in the newBase base

See Also