5.3.79 _Q31atanYByXByPI Function
This function finds the arc tangent of a Q31 value divided by a second Q31 value and then divides the result by PI (π).
Include
<libq.h>
Prototype
_Q31 _Q31atanYByXByPI(_Q31 x, _Q31 y);
Arguments
x |
a fixed-point number in Q31 format, which ranges from -231 to 231-1. The value of this argument ranges from -2147483648 to 2147483647. |
y |
a fixed-point number in Q31 format, which ranges from -231 to 231-1. The value of this argument ranges from -2147483648 to 2147483647. |
Return Value
This function returns the arc tangent of y divided by x
, divided by PI,
in Q31 format. The value ranges from -536870912 to 536870912.