numBitsSet overloads
Synopses
Declared in <bdlb_bitutil.h>
Return the number of 1 bits in the specified value.
static
int
numBitsSet(unsigned int value);
Same as the unsigned int overload.
static
int
numBitsSet(unsigned long value);
Same as the unsigned int overload.
static
int
numBitsSet(unsigned long long value);
Return Value
number of 1 bits in value
Parameters
Name |
Description |
value |
value whose set bits are counted |
Created with MrDocs