語言

UInt32.Log2(UInt32) 方法

定義

計算 值的log2。

public:
 static System::UInt32 Log2(System::UInt32 value) = System::Numerics::IBinaryNumber<System::UInt32>::Log2;
public static uint Log2(uint value);
static member Log2 : uint32 -> uint32
Public Shared Function Log2 (value As UInteger) As UInteger

參數

value
UInt32

要計算的 log2 值。

傳回

的對數2 value。

實作

適用於