語言

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前導零的數量。

實作

適用於