_CountOneBits

This function returns the number of one bits in the argument.

unsigned __cdecl _CountOneBits(
  long arg1
);

Parameters

  • arg1
    [in] The long integer value that the function examines for one bits.

Return Values

The number of one bits.

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.