1FABS(3)                    Linux Programmer's Manual                   FABS(3)
2
3
4

NAME

6       fabs, fabsf, fabsl - absolute value of floating-point number
7

SYNOPSIS

9       #include <math.h>
10
11       double fabs(double x);
12       float fabsf(float x);
13       long double fabsl(long double x);
14
15       Link with -lm.
16

DESCRIPTION

18       The  fabs()  functions  return the absolute value of the floating-point
19       number x.
20

ERRORS

22       No errors can occur.
23

CONFORMING TO

25       The fabs() function conforms to SVr4, POSIX.1-2001, 4.3BSD,  C89.   The
26       other functions are from C99.
27

SEE ALSO

29       abs(3), ceil(3), cabs(3), floor(3), labs(3), rint(3)
30
31
32
33                                  2001-06-07                           FABS(3)
Impressum