|
BitMathCountLeadingOnes(UInt32) 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.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
Syntaxpublic static int CountLeadingOnes(
uint value
)
static member CountLeadingOnes :
value : uint32 -> int
GSF.BitMath.CountLeadingOnes = function(value);
View SourceParameters
- value UInt32
-
Return Value
Int32
See Also