Single.Log 方法

定义

重载

Log(Single, Single)

计算指定基数中某个值的对数。

Log(Single)

计算值的自然 (base-E 对数。

Log(Single, Single)

Source:
Single.cs
Source:
Single.cs
Source:
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)

Source:
Single.cs
Source:
Single.cs
Source:
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 的自然对数。

实现

适用于