語言

Single.Log2P1(Single) 方法

定義

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

public:
 static float Log2P1(float x) = System::Numerics::ILogarithmicFunctions<float>::Log2P1;
public static float Log2P1(float x);
static member Log2P1 : single -> single
Public Shared Function Log2P1 (x As Single) As Single

參數

x
Single

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

傳回

log2(x + 1)

實作

適用於