VMS Help  —  CRTL  fabs
    Returns the absolute value of its argument.

    Format

      #include  <math.h>

      double fabs  (double x);

      float fabsf  (float x); (Integrity servers, Alpha)

      long double fabsl  (long double x); (Integrity servers, Alpha)

1  –  Argument

 x

    A real value.

2  –  Return Value

    x                  The absolute value of the argument.
Close Help