fabs
Computes the absolute value of the argument.
Library:LibC
Classification:ANSI
Service:Math
Syntax
#include <math.h>
double fabs (
double x);
Parameters
- x
-
(IN) Specifies an argument whose absolute value is to be computed.
Return Values
Returns the absolute value of x.