|
BitMathCountLeadingOnes(UInt64) Method
|
Counts the number of consecutive 1's starting from the highest bit working down.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.263-beta+46da57839405c6f25e1a2652b0dc32fdd781900f
Syntaxpublic static int CountLeadingOnes(
ulong value
)
Public Shared Function CountLeadingOnes (
value As ULong
) As Integer
static member CountLeadingOnes :
value : uint64 -> int GSF.BitMath.CountLeadingOnes = function(value);
View SourceParameters
- value UInt64
-
Return Value
Int32
See Also