I have observed this strange behaviour.
I am using this call:
xsqrPysqrQ15 = _FtoIQ15(x*x+y*y);
where x & y are float and xsqrPysqrQ15 is _iq15 quantity.
if y = 233.1827
then for x < -105.6 I get the output of the above call as 0 (zero).
if x = -105.6 or -105.5 or -105.4 or -100 then result is correct.
Similarly for same value of y, if x > 105.6 I get result as 0.
Can someone please help what is it I am missing here - like are my inputs out of range for the function?
Processor used: c6455.
IQmath ver_213
Thanks
SBanik