Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

_CountOneBits, _CountOneBits64 

Visual Studio 2005

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

unsigned __cdecl _CountOneBits(
  long arg1

unsigned __cdecl _CountOneBits64(
  __int64 arg1



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

The number of one bits.

This function can be implemented by calling a runtime function.

Routine Required header Architecture



x86, ARM, SH-4, MIPS



x86, ARM, SH-4, MIPS

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.