|   | BitMathCountLeadingZeros(UInt64) Method | 
        
        
            Counts the number of consecutive 0's starting from the highest bit working down.
            
        
        Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxpublic static int CountLeadingZeros(
	ulong value
)
Public Shared Function CountLeadingZeros ( 
	value As ULong
) As Integer
static member CountLeadingZeros : 
        value : uint64 -> int GSF.BitMath.CountLeadingZeros = function(value);
Parameters
- value  UInt64
-  
Return Value
Int32 Remarks
Remarks
            Unfortunately, c# cannot call the cpu instruction clz
            Example from http://en.wikipedia.org/wiki/Find_first_set
            
 See Also
See Also