Click or drag to resize

BitMathCountLeadingOnes(UInt32) Method

Counts the number of consecutive 1's starting from the highest bit working down.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
public static int CountLeadingOnes(
	uint value
)
View Source

Parameters

value  UInt32
 

Return Value

Int32
See Also