Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dfixp-arith.h113 static inline s32 fixp_sin32_rad(u32 radians, u32 twopi) in fixp_sin32_rad() argument
122 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) \ argument
143 fixp_sin32_rad(rad + twopi / 4, twopi)