If you use the C++ compiler, the include file is cmath.h, if you want to find the absolute value of an integer, use the function abs(int), and if you want to find the absolute value of a real number, use the function fabs(float/double).
If C compiler is used, the include file is math.h, the integer is Abs(int), and the floating point number is fabs(float/double).