Hi,
I am working on the beagleboard C4 (with c64x+ fixed-point processor). Using the _IQsin function from IQmath library I always get the wrong results.
For example:
_iq30 d, e;
d = _IQ30(0.5); //d = 536870912(int) = 0x2000 0000 (hex)
e = _IQ30sin(d); //result: e = 514779252(int) = 0x1EAEE874(hex); expected: 9370046(int)
Thank you for any help