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.

atan2函数



TI工程师,你们好,我在调试代码时发现 atan2f(float,float) 输出出现问题,截图如下

atan2f()函数输出的值应该是[-pi,pi]这个区间才对,可是运算结果却出现异常。我重新建立一个简单的工程测试了下,一切正常,输出无误!请问是我原来的工程哪个地方可能出现问题了呢?请指教!!