Synopsis
#include <math.h> double fabs(double x);
Description
fabs computes the absolute value of the floating-point number x.
Portability
fabs conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).
#include <math.h> double fabs(double x);
fabs computes the absolute value of the floating-point number x.
fabs conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).