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.

Any special head file is required for using 'abs' function?

Hi,

I created a CCSv6 C++ project based on F2812, tried to use 'abs' function but failed, the error is:

#20 identifier "abs" is undefined

I tried to include IQMathLib.h and <math.h> but neither works. What do I missed?

Any comments are appreciated.