5.3.17 _itofQ15 Function
This function converts a Q15 value into its corresponding floating-point value.
Include
<libq.h>
Prototype
float _itofQ15(_Q15 x);
Argument
x |
a fixed-point number in Q15 format, which ranges from -215 to 215-1. The value of this argument ranges from -32768 to 32767. |
Return Value
This function returns a floating-point equivalent number. The corresponding floating-point range is -1 to 0.99996.