Edit

Share via


UInt16.LeadingZeroCount(UInt16) Method

Definition

Computes the number of leading zeros in a value.

public:
 static System::UInt16 LeadingZeroCount(System::UInt16 value) = System::Numerics::IBinaryInteger<System::UInt16>::LeadingZeroCount;
public static ushort LeadingZeroCount (ushort value);
static member LeadingZeroCount : uint16 -> uint16
Public Shared Function LeadingZeroCount (value As UShort) As UShort

Parameters

value
UInt16

The value whose leading zeroes are to be counted.

Returns

The number of leading zeros in value.

Implements

Applies to