Επεξεργασία

Κοινή χρήση μέσω


Single.Log Method

Definition

Overloads

Log(Single, Single)

Computes the logarithm of a value in the specified base.

Log(Single)

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

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