Single.Log Method
Definition
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.
Overloads
Log(Single, Single) |
Computes the logarithm of a value in the specified base. |
Log(Single) |
Computes the natural ( |
Log(Single, Single)
- Source:
- Single.cs
- Source:
- Single.cs
- Source:
- Single.cs
Computes the logarithm of a value in the specified base.
public:
static float Log(float x, float newBase) = System::Numerics::ILogarithmicFunctions<float>::Log;
public static float Log(float x, float newBase);
static member Log : single * single -> single
Public Shared Function Log (x As Single, newBase As Single) As Single
Parameters
- x
- Single
The value whose logarithm is to be computed.
- newBase
- Single
The base in which the logarithm is to be computed.
Returns
The base-newBase
logarithm of x
.
Implements
Applies to
Log(Single)
- Source:
- Single.cs
- Source:
- Single.cs
- Source:
- Single.cs
Computes the natural (base-E
logarithm of a value.
public:
static float Log(float x) = System::Numerics::ILogarithmicFunctions<float>::Log;
public static float Log(float x);
static member Log : single -> single
Public Shared Function Log (x As Single) As Single
Parameters
- x
- Single
The value whose natural logarithm is to be computed.
Returns
The natural logarithm of x
.
Implements
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET