GNU Radio 3.6.5 C++ API

count_bits.h File Reference

#include <blocks/api.h>

Go to the source code of this file.

Namespaces

namespace  gr
namespace  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
BLOCKS_API unsigned int gr::blocks::count_bits16 (unsigned int x)
 return number of set bits in the low 16 bits of x
BLOCKS_API unsigned int gr::blocks::count_bits32 (unsigned int x)
 return number of set bits in the low 32 bits of x
BLOCKS_API unsigned int gr::blocks::count_bits64 (unsigned long long int x)
 return number of set bits in a 64-bit word