語言

ILogarithmicFunctions<TSelf>.Log2(TSelf) 方法

定義

計算一個值的以2為底的對數。

public:
 static TSelf Log2(TSelf x);
public static abstract TSelf Log2(TSelf x);
static member Log2 : 'Self -> 'Self
Public Shared Function Log2 (x As TSelf) As TSelf

參數

x
TSelf

要計算的對數為底數為2的值。

傳回

TSelf

的 x底2對數。

適用於