This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Ti support:
the GLOBAL_Q is 24.
i use _IQmpyI32int(0.933012702,2344) from the watch the result is 1679.
but what i expect is 2187.
what should i do?
Best Regards
Fred
)
Fred,
long _IQmpyI32int( _iq A, long B) //Multiply IQ with "long", return integer part
所以你的程序应该这么写:
long a;
a = _IQmpyI32int(_IQ(0.933012702),2344) ;
Eric