IQmath定点数运算与浮点数运算的速度差别????比如:
float a,b,c;
c=a*b;
若将此运算转换为定点数运算为:
float a,b,c;
_iq x;
x=_IQmpy(_IQ(a),_IQ(b));
这样子是上面的那个快些还是下面的那个快些?
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.
对的,由于运算机理不一样,IQmath虽然麻烦一点,但是运算是更快的。
可以看看这篇文章,这里面有奖IQmath的原理: