Edit

Share via


Int16.LeadingZeroCount(Int16) Method

Definition

Computes the number of leading zeros in a value.

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

Parameters

value
Int16

The value whose leading zeroes are to be counted.

Returns

The number of leading zeros in value.

Implements

Applies to