Home
last modified time | relevance | path

Searched refs:CORDIC_PRECISION_SHIFT (Results 1 – 1 of 1) sorted by relevance

/lib/
Dcordic.c20 #define CORDIC_PRECISION_SHIFT 16 macro
21 #define CORDIC_NUM_ITER (CORDIC_PRECISION_SHIFT + 2)
23 #define FIXED(X) ((s32)((X) << CORDIC_PRECISION_SHIFT))
25 ? ((((X) >> (CORDIC_PRECISION_SHIFT - 1)) + 1) >> 1) \
26 : -((((-(X)) >> (CORDIC_PRECISION_SHIFT - 1)) + 1) >> 1))