Int32.Log2(Int32) 方法

定义

计算值的 log2。

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

参数

value
Int32

返回

Int32

valuelog2

实现

适用于