23 #ifndef _GR_COUNT_BITS_H_ 24 #define _GR_COUNT_BITS_H_
BLOCKS_API unsigned int count_bits32(unsigned int x)
return number of set bits in the low 32 bits of x
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
BLOCKS_API unsigned int count_bits8(unsigned int x)
return number of set bits in the low 8 bits of x
BLOCKS_API unsigned int count_bits64(unsigned long long int x)
return number of set bits in a 64-bit word
BLOCKS_API unsigned int count_bits16(unsigned int x)
return number of set bits in the low 16 bits of x