_CountLeadingSigns, _CountLeadingSigns64 (Windows Embedded CE 6.0)
1/5/2010
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
Architecture | ARM, MIPS, SH-4 |
Header | cmnintrin.h |
Routine | _CountLeadingSigns |
See Also
Reference
Common Intrinsic Functions for Device Compilers