_Q16exp Function

This function finds the exponential value of a Q16 value.

Include

<libq.h>

Prototype

_Q16 _Q16exp(_Q16 x);

Argument

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

Return Value

This function returns the exponent value of x in Q16 format. The value ranges from 0 to 2147483647.