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.

PROCESSOR-SDK-TDAX: atan2sp implementation issue in mathlib c66x Vs 3_1_0_0

Part Number: PROCESSOR-SDK-TDAX
Other Parts Discussed in Thread: MATHLIB

I was going through the implementation of atan2sp present in the mathlib package vs. 3.1.0.0. It has definition of "atan2sp_i (float a, float b)" which is suppose to calculate arctan(a/b). 

when I change the sign of 'a' and 'b' just after entering this API, I get different result. I mean arctan(-a/-b) != arctan(a/b).

Is this expected behavior, or there is some potential bug  ?

Regards

Deepak Poddar