Single.Log 方法

定義

多載

Log(Single, Single)

計算指定基底中值的對數。

Log(Single)

計算值的自然 (base-E 對數。

Log(Single, Single)

來源:
Single.cs
來源:
Single.cs
來源:
Single.cs

計算指定基底中值的對數。

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

參數

x
Single

要計算其對數的值。

newBase
Single

要計算對數的基底。

傳回

的基數 newBase 對數 x

實作

適用於

Log(Single)

來源:
Single.cs
來源:
Single.cs
來源:
Single.cs

計算值的自然 (base-E 對數。

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

參數

x
Single

要計算其自然對數的值。

傳回

x 的自然對數。

實作

適用於