Searched refs:ANGLE_FROM_FIXED (Results 1 – 2 of 2) sorted by relevance
92 # define ANGLE_FROM_FIXED(x) (Angle)((x) >> (FIXED_BITS - ANGLE_BITS)) macro95 # define ANGLE_FROM_FIXED(x) (Angle)((x) << (ANGLE_BITS - FIXED_BITS)) macro122 return angle_sin(ANGLE_FROM_FIXED(f)); in fixed_sin()127 return angle_cos(ANGLE_FROM_FIXED(f)); in fixed_cos()
97 # define ANGLE_FROM_FIXED(x) (Angle)((x) >> (FIXED_BITS - ANGLE_BITS)) macro100 # define ANGLE_FROM_FIXED(x) (Angle)((x) << (ANGLE_BITS - FIXED_BITS)) macro127 return angle_sin(ANGLE_FROM_FIXED(f)); in fixed_sin()132 return angle_cos(ANGLE_FROM_FIXED(f)); in fixed_cos()