Searched refs:twopi (Results 1 – 1 of 1) sorted by relevance
113 static inline s32 fixp_sin32_rad(u32 radians, u32 twopi) in fixp_sin32_rad() argument122 BUG_ON(twopi > 1 << 18); in fixp_sin32_rad()124 degrees = (radians * 360) / twopi; in fixp_sin32_rad()125 tmp = radians - (degrees * twopi) / 360; in fixp_sin32_rad()132 dx = twopi / 360; in fixp_sin32_rad()142 #define fixp_cos32_rad(rad, twopi) \ argument143 fixp_sin32_rad(rad + twopi / 4, twopi)