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.

Q格式问题

Other Parts Discussed in Thread: CONTROLSUITE

各位大神好,我在编译controlSUITE中的例程时,遇到一个Q格式的问题,我看到程序中的注释:

0.0000305是在Q15下定义的。

但程序确是这样定义的: _IQ(0.0000305)。

在IQmath中有:

#define   _IQ(A)  _IQ24(A)

#define   _IQ24(A)      (long) ((A) * 16777216.0L)

这是什么意思呢?非常感谢!!!