語言

Half.Log2P1(Half) 方法

定義

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

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

參數

x
Half

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

傳回

log2(x + 1)

實作

適用於