語言

UInt16.Log2(UInt16) 方法

定義

計算 值的log2。

public:
 static System::UInt16 Log2(System::UInt16 value) = System::Numerics::IBinaryNumber<System::UInt16>::Log2;
public static ushort Log2(ushort value);
static member Log2 : uint16 -> uint16
Public Shared Function Log2 (value As UShort) As UShort

參數

value
UInt16

要計算的 log2 值。

傳回

的對數2 value。

實作

適用於