Int32.LeadingZeroCount(Int32) 方法

定义

计算值中前导零的数目。

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

参数

value
Int32

要对其前导零进行计数的值。

返回

value前导零的数目。

实现

适用于