_CountLeadingSigns

This function returns the number of contiguous bits that match the sign bit, starting with the next most significant bit.

unsigned __cdecl _CountLeadingSigns(
  long 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 may be implemented by calling a runtime function.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Cmnintrin.h.

See Also

Common Intrinsic Functions

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.