GNU Radio Manual and C++ API Reference  3.7.13.4
The Free & Open Software Radio Ecosystem
math.h File Reference
#include <cmath>
#include <gnuradio/api.h>
#include <gnuradio/gr_complex.h>

Go to the source code of this file.

Namespaces

 gr
 Include this header to use the message passing features.
 

Functions

static bool gr::is_power_of_2 (long x)
 
GR_RUNTIME_API float gr::fast_atan2f (float y, float x)
 Fast arc tangent using table lookup and linear interpolation. More...
 
static float gr::fast_atan2f (gr_complex z)
 
static float gr::branchless_clip (float x, float clip)
 
static float gr::clip (float x, float clip)
 
static unsigned int gr::binary_slicer (float x)
 
static unsigned int gr::quad_45deg_slicer (float r, float i)
 
static unsigned int gr::quad_0deg_slicer (float r, float i)
 
static unsigned int gr::quad_45deg_slicer (gr_complex x)
 
static unsigned int gr::quad_0deg_slicer (gr_complex x)
 
static unsigned int gr::branchless_binary_slicer (float x)
 
static unsigned int gr::branchless_quad_0deg_slicer (float r, float i)
 
static unsigned int gr::branchless_quad_0deg_slicer (gr_complex x)
 
static unsigned int gr::branchless_quad_45deg_slicer (float r, float i)
 
static unsigned int gr::branchless_quad_45deg_slicer (gr_complex x)
 
static size_t gr::p2_round_down (size_t x, size_t pow2)
 
static size_t gr::p2_round_up (size_t x, size_t pow2)
 
static size_t gr::p2_modulo (size_t x, size_t pow2)
 
static size_t gr::p2_modulo_neg (size_t x, size_t pow2)