Single.Log 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| Log(Single, Single) |
計算指定基底下某值的對數。 |
| Log(Single) |
計算一個值的自然( |
Log(Single, Single)
- 來源:
- Single.cs
- 來源:
- Single.cs
- 來源:
- 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
- 來源:
- 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自然對數。