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 的值。

返回

valuelog2

实现

适用于