5.3.71 _Q31acos Function

This function finds the arc cosine of a Q31 value.

Include

<libq.h>

Prototype

_Q31 _Q31acos(_Q31 x);

Argument

x a fixed-point number in Q31 format, which ranges from -231 to 231-1. Therefore the value of this argument ranges from 1160290366 to 2147483647.

Return Value

This function returns the arc cosine of x in Q31 format. The value ranges from 65536 to 2147483647.