|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Visual Studio 2005
This function returns the number of contiguous one bits starting with the most significant bit.
unsigned __cdecl _CountLeadingOnes( long arg1 ); unsigned __cdecl _CountLeadingOnes64( __int64 arg1 );
- [in] The long integer argument that the function examines to find one bits.