Home
last modified time | relevance | path

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

/lib/
Dcordic.c23 #define FIXED(X) ((s32)((X) << CORDIC_PRECISION_SHIFT)) macro
67 theta = FIXED(theta); in cordic_calc_iq()
69 theta = ((theta + FIXED(180) * signtheta) % FIXED(360)) - in cordic_calc_iq()
70 FIXED(180) * signtheta; in cordic_calc_iq()
73 theta -= FIXED(180); in cordic_calc_iq()
76 theta += FIXED(180); in cordic_calc_iq()