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

返回

valuelog2

实现

适用于