_itofQ16 Function

This function converts a Q16 value into its corresponding floating-point value.

Include

<libq.h>

Prototype

float _itofQ16(_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 a floating-point equivalent number. The corresponding floating-point range is -32768 to 32768.