fabs - absolute value of floating-point number
#include <math.h> double fabs(double x);
The fabs() function returns the absolute value of the floating-point number x.
SVID 3, POSIX, BSD 4.3, ISO 9899
abs(3), ceil(3), floor(3),