Searched refs:INT_PI (Results 1 – 1 of 1) sorted by relevance
17 #define INT_PI ((s32)(3.141592653589 * 32768.0)) macro23 (compat_remainder(carrier + tone, srate)) / srate * 2 * INT_PI))74 u16 period = x / INT_PI; in int_cos()77 return -int_cos(x - INT_PI); in int_cos()78 x = x % INT_PI; in int_cos()79 if (x > INT_PI / 2) in int_cos()80 return -int_cos(INT_PI / 2 - (x % (INT_PI / 2))); in int_cos()