Double.Log Method

Definition

Overloads

Log(Double, Double)

Computes the logarithm of a value in the specified base.

Log(Double)

Computes the natural (base-E logarithm of a value.

Log(Double, Double)

Source:
Double.cs
Source:
Double.cs
Source:
Double.cs

Computes the logarithm of a value in the specified base.

public:
 static double Log(double x, double newBase) = System::Numerics::ILogarithmicFunctions<double>::Log;
public static double Log (double x, double newBase);
static member Log : double * double -> double
Public Shared Function Log (x As Double, newBase As Double) As Double

Parameters

x
Double

The value whose logarithm is to be computed.

newBase
Double

The base in which the logarithm is to be computed.

Returns

The base-newBase logarithm of x.

Implements

Applies to

Log(Double)

Source:
Double.cs
Source:
Double.cs
Source:
Double.cs

Computes the natural (base-E logarithm of a value.

public:
 static double Log(double x) = System::Numerics::ILogarithmicFunctions<double>::Log;
public static double Log (double x);
static member Log : double -> double
Public Shared Function Log (x As Double) As Double

Parameters

x
Double

The value whose natural logarithm is to be computed.

Returns

The natural logarithm of x.

Implements

Applies to