FABS(3) BSD Library Functions Manual FABS(3)NAMEfabs — floating-point absolute value function
SYNOPSIS
#include <math.h>
double
fabs(double x);
DESCRIPTION
The fabs() function computes the absolute value of a floating-point num‐
ber x.
RETURN VALUES
The fabs() function returns the absolute value of x.
SEE ALSOabs(3), ceil(3), floor(3), rint(3), ieee(3), math.3
STANDARDS
The fabs() function conforms to ANSI X3.159-1989 (“ANSI C89”).
BSD June 4, 1993 BSD