_Q16asinByPI Function

This function finds the arc sine of a Q16 value and then divides by PI (π).

Include

<libq.h>

Prototype

_Q16 _Q16asinByPI(_Q16 x);

Argument

x a fixed-point number in Q16 format. The value of this argument ranges from -65536 to 65535.

Return Value

This function returns the arc sine of x, divided by PI, in Q16 format. The value ranges from -32768 to 32653 respectively.