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.

TMS320F28069: CLAMATH三角函数计算结果错误

Part Number: TMS320F28069

在使用CLAMATH库进行计算时,CLAcos与CLAsin函数计算错误,CLAcos(0.0001f)的计算结果为+inf,CLAcos(0.1f)与CLAcos(1.0f)与CLAcos(10.0f)的计算结果为0.0;CLAsin(0.1f)与CLAsin(1.0f)的计算结果为-inf,CLAsin(0.0001f)的计算结果为+inf;而在CLA中普通的加、减、乘以及CLAsqrt,CLAdiv计算结果正确,以上结果都是在仿真器调试中在Expressions中观察到的。CLAcos.asm,CLAsin.asm,CLAsqrt.asm等asm文件是放在相同的位置。