7.12.7.2 The fabs functions
Synopsis
#include <math.h>
double fabs(double x);
float fabsf(float x);
long double fabsl(long double x);
Description
The fabs functions compute the absolute value of a floating-point number x.
Returns
The fabs functions return | x |.