_Q16acos Function

This function finds the arc cosine of a Q16 value.

Include

<libq.h>

Prototype

_Q16 _Q16acos(_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 cosine of x in Q16 format. The value ranges from 205887 to 363 respectively.