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.

IQsqrt如何使用 ?

Other Parts Discussed in Thread: CONTROLSUITE

#ifndef   GLOBAL_Q

#define   GLOBAL_Q       1

#endif

#define   _IQsqrt(A)          sqrt(A)

VTTT=10;
VTTT=_IQ1mpy(10,10); // 运行结果正常是VTTT=50,
VTTT=_IQ12mpy(4096,4096);//// 运行结果正常是VTTT=4096
VTTT=_IQsqrt(100);// 运行结果是VTTT=14,不正常,不应该是10吗?