#include <math.h>
#include <endian.h>
◆ HIGH_HALF [1/2]
◆ HIGH_HALF [2/2]
◆ LOW_HALF [1/2]
◆ LOW_HALF [2/2]
◆ max
Value:(((y) > (x)) ? (y) : (x))
◆ min
Value:(((y) < (x)) ? (y) : (x))
◆ POLYNOMIAL
Value:
#define POLYNOMIAL2(xx)
Definition sincos.cpp:940
◆ POLYNOMIAL2
| #define POLYNOMIAL2 |
( |
| xx | ) |
|
Value:((((s5 * (xx) + s4) * (xx) + s3) * (xx) + s2) * (xx))
◆ SINCOS_TABLE_LOOKUP
| #define SINCOS_TABLE_LOOKUP |
( |
| u, |
|
|
| sn, |
|
|
| ssn, |
|
|
| cs, |
|
|
| ccs ) |
Value:({ \
sn = __sincostab.x[k]; \
ssn = __sincostab.x[k + 1]; \
cs = __sincostab.x[k + 2]; \
ccs = __sincostab.x[k + 3]; \
})
#define LOW_HALF
Definition branred.cpp:23
◆ TAYLOR_SIN
| #define TAYLOR_SIN |
( |
| xx, |
|
|
| x, |
|
|
| dx ) |
Value:({ \
double t = ((
POLYNOMIAL (xx) * (x) - 0.5 * (dx)) * (xx) + (dx)); \
double res = (x) + t; \
res; \
})
#define POLYNOMIAL(xx)
Definition sincos.cpp:942