I'm tring to do some calculation with atan() but it kept getting wrong results, same thing happened with sin() and cos(). I'm working under CCS3.3 with TMS320c6701. I thought the optimization mayber the problem so i turn it off, but I still got wrong result.
Could anyone help me? Thank you!