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.

TMS320C6701: 使用c67xfastMath.lib的pow()函数计算出错

Part Number: TMS320C6701
Other Parts Discussed in Thread: MATHLIB

我使用的DSP是TMS320C6701,使用c67xfastMath.lib加速sin(),cos()等函数的运算,但是当我使用pow()函数时,计算出错了,如下图:pow(2, 3)的结果为-1.0,这是为什么呢?

另外,我只在.cmd加入下面代码作为引入c67xfastMath.lib:

-l "../library/c67xfastMath.lib"
-l "../library/rts6700.lib"