Double.Log Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Log(Double, Double) |
Computes the logarithm of a value in the specified base. |
Log(Double) |
Computes the natural ( |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: