Rediger

Del via


UInt32.LeadingZeroCount(UInt32) Method

Definition

Computes the number of leading zeros in a value.

public:
 static System::UInt32 LeadingZeroCount(System::UInt32 value) = System::Numerics::IBinaryInteger<System::UInt32>::LeadingZeroCount;
public static uint LeadingZeroCount (uint value);
static member LeadingZeroCount : uint32 -> uint32
Public Shared Function LeadingZeroCount (value As UInteger) As UInteger

Parameters

value
UInt32

The value whose leading zeroes are to be counted.

Returns

The number of leading zeros in value.

Implements

Applies to