hello,
I meet the IQtoF() issue in my TM4C1233H6PM project, the return value is always 0.0, and so far, only this convert to float type function is unavailable. So I build the minimal project as following:
#include <stdio.h>
#include "IQmathLib.h"
float fTemp = 0;
_iq15 iq15Value = 0;
int main(void) {
iq15Value = _IQ15(0.3);
fTemp = _IQ15toF(iq15Value);
printf("fTemp = %f\n",fTemp);
return 0;
}
result in console: fTemp = 0.000000
P.S: iq15Value has the correct value 9830, while fTemp is 0.0 in debug.