語言

NFloat.Log2P1(NFloat) 方法

定義

計算一個值加一的底數2對數。

public:
 static System::Runtime::InteropServices::NFloat Log2P1(System::Runtime::InteropServices::NFloat x) = System::Numerics::ILogarithmicFunctions<System::Runtime::InteropServices::NFloat>::Log2P1;
public static System.Runtime.InteropServices.NFloat Log2P1(System.Runtime.InteropServices.NFloat x);
static member Log2P1 : System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Log2P1 (x As NFloat) As NFloat

參數

x
NFloat

在計算進位為2的對數前,該值被加到該值。

傳回

log2(x + 1)

實作

適用於