_CountLeadingSigns, _CountLeadingSigns64
9/7/2007
This function returns the number of contiguous bits that match the sign bit, starting with the next most significant bit.
Syntax
unsigned __cdecl _CountLeadingSigns(
long arg1
);
unsigned __cdecl _CountLeadingSigns64(
__int64 arg1
);
Parameters
- arg1
[in] The unsigned integer value that the function operates on.
Return Values
The number of contiguous bits in arg1 that match the sign bit.
Remarks
This function can be implemented by calling a runtime function.
Requirements
Routine | Required header | Architecture |
---|---|---|
_CountLeadingSigns |
<cmnintrin.h> |
ARM, SH-4, MIPS |
_CountLeadingSigns64 |
<cmnintrin.h> |
ARM, SH-4, MIPS |