Click or drag to resize

BitMathCountLeadingOnes(UInt64) 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.181-beta
Syntax
public static int CountLeadingOnes(
	ulong value
)
View Source

Parameters

value  UInt64
 

Return Value

Int32
See Also