#include <gnuradio/api.h>
#include <gnuradio/gr_complex.h>
#include <cmath>
Go to the source code of this file.
|
| gr |
| GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
|
|
|
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) |
|
◆ GR_M_LOG2E
#define GR_M_LOG2E 1.4426950408889634074 /* log_2 e */ |
◆ GR_M_PI
#define GR_M_PI 3.14159265358979323846 /* pi */ |
◆ GR_M_PI_4
#define GR_M_PI_4 0.78539816339744830961566084582 /* pi/4 */ |
◆ GR_M_SQRT2
#define GR_M_SQRT2 1.41421356237309504880 /* sqrt(2) */ |
◆ GR_M_TWOPI
#define GR_M_TWOPI (2 * GR_M_PI) /* 2*pi */ |