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.296-beta+d85e3b6b23676c9fffb3231e358b4f94ad70793d
Syntax
public static int CountLeadingOnes(
	ulong value
)
View Source

Parameters

value  UInt64
 

Return Value

Int32
See Also