_Q16reciprocalQ16 Function

This function returns the reciprocal value of the input.

Include

<libq.h>

Prototype

_Q16 _Q16reciprocalQ16(_Q16 x);

Argument

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

Return Value

This function returns the reciprocal of x in Q16 format. The value of this output ranges from -2147483648 to 2147483647.