Searched refs:MY_PI (Results 1 – 1 of 1) sorted by relevance
30 #define MY_PI 205887 // (M_PI * FIX) macro47 a = MY_PI - a; // 0..inf in int_sin()48 a %= 2 * MY_PI; // 0..2PI in int_sin()50 if (a >= MY_PI * 3 / 2) in int_sin()51 a -= 2 * MY_PI; // -PI / 2 .. 3PI / 2 in int_sin()52 if (a >= MY_PI / 2) in int_sin()53 a = MY_PI - a; // -PI / 2 .. PI / 2 in int_sin()148 radian = 2 * i * MY_PI / 360; in init_demo()150 h_cos[i] = h * int_sin(radian + MY_PI / 2) / 2 / FIXP; in init_demo()