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.278-beta+c828ae22c788d41a5526bfeb0705a559edbc309e
Syntax
public static int CountLeadingOnes(
	uint value
)
View Source

Parameters

value  UInt32
 

Return Value

Int32
See Also