Jcd.BitManipulation

A bit manipulation readability enhancement library.

Jcd.BitManipulation

Jcd.BitManipulation.Algorithms.UInt32AlgorithmsExtensions

UInt32AlgorithmsExtensions.CountLeadingZeros(this uint) Method

Computes the number of sequentially zeroed bits occupying the most significant bit positions.

public static int CountLeadingZeros(this uint number);

Parameters

number System.UInt32

The number to evaluate.

Returns

System.Int32 The count of sequentially zeroed bits occupying the most significant bit positions.