GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
count_bits.h File Reference
#include <gnuradio/blocks/api.h>
#include <cstdint>

Go to the source code of this file.

Namespaces

 gr
 GNU Radio logging wrapper.
 
 gr::blocks
 

Functions

BLOCKS_API unsigned int gr::blocks::count_bits8 (unsigned int x)
 return number of set bits in the low 8 bits of x More...
 
BLOCKS_API unsigned int gr::blocks::count_bits16 (unsigned int x)
 return number of set bits in the low 16 bits of x More...
 
BLOCKS_API unsigned int gr::blocks::count_bits32 (unsigned int x)
 return number of set bits in the low 32 bits of x More...
 
BLOCKS_API unsigned int gr::blocks::count_bits64 (uint64_t x)
 return number of set bits in a 64-bit word More...