Click or drag to resize

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

Parameters

value  UInt32
 

Return Value

Int32
See Also