![]() |
LIBDSP Version 4.1.9
LIBDSP Software Library
|
#include "tpt_math.h"
Macros | |
| #define | NORM_SH (15) |
| #define | CST_1 (1L << NORM_SH) |
| #define | CST_2 (4L << NORM_SH) |
| #define | D2Q(F) |
| #define | MULQ(a, b) |
| #define | OCTANTIFY(_x, _y, _o) |
| #define | BRAD_PI 0x2000 /* 32768/4 */ |
Functions | |
| static q31_t | atan1 (const q31_t x) |
| q15_t | tpt_atan2_q15 (q15_t y, q15_t x) |
| Arc tangent in radian of y/x using sign of x and y to determine right quadrant. | |
Variables | |
| static q15_t | ga [] |
| static q15_t | gb [] |
| #define BRAD_PI 0x2000 /* 32768/4 */ |
| #define CST_1 (1L << NORM_SH) |
| #define CST_2 (4L << NORM_SH) |
| #define D2Q | ( | F | ) |
| #define MULQ | ( | a, | |
| b ) |
| #define NORM_SH (15) |
| #define OCTANTIFY | ( | _x, | |
| _y, | |||
| _o ) |
|
static |
|
static |