語言

Int16.Log2(Int16) 方法

定義

計算 值的log2。

public:
 static short Log2(short value) = System::Numerics::IBinaryNumber<short>::Log2;
public static short Log2(short value);
static member Log2 : int16 -> int16
Public Shared Function Log2 (value As Short) As Short

參數

value
Int16

要計算的 log2 值。

傳回

的對數2 value。

實作

適用於