Searched refs:twopi (Results 1 - 1 of 1) sorted by relevance

/linux-master/include/linux/
H A Dfixp-arith.h96 * @twopi: value to be used for 2*pi
101 * twopi var.
105 * the one produced by this function, when twopi is
109 * Please notice that two high numbers for twopi could cause
110 * overflows, so the routine will not allow values of twopi
113 static inline s32 fixp_sin32_rad(u32 radians, u32 twopi) argument
120 * Avoid too large values for twopi, as we don't want overflows.
122 BUG_ON(twopi > 1 << 18);
124 degrees = (radians * 360) / twopi;
125 tmp = radians - (degrees * twopi) / 36
[all...]

Completed in 104 milliseconds