5.3.3 _Q15acosByPI Function
This function finds the arc cosine of a Q15 value and then divides by PI (π).
Include
<libq.h>
Prototype
_Q15 _Q15acosByPI(_Q15 x);
Argument
x |
a fixed-point number in Q15 format, which ranges from -215 to 215-1. The value of this argument ranges from -32768 to 32767. |
Return Value
This function returns the arc cosine of x
, divided by PI,
in Q15 format. The value ranges from 82 to 32767.