_CountLeadingZeros (Windows CE 5.0)
This function returns the number of contiguous zero bits starting with the most significant bit in the argument.
unsigned __cdecl _CountLeadingZeros( long arg1);
Parameters
- arg1
[in] The unsigned integer to be examined by the function.
Return Values
The number of contiguous zero bits in arg1. If none of the bits in arg1 are set, the return value is 32.
Remarks
This function can be implemented by calling a runtime function.
Requirements
Header: Cmnintrin.h.
Send Feedback on this topic to the authors