Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>fabs</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
fabs

Usage

   #include <math.h>
   double fabs(double x);

   ANSI

Description

   Returns the absolute value of the floating point argument x.

Example 

   #include <stdio.h>
   #include <math.h>
   #include <stdlib.h>

   int main()

   {
       double numbr, absval;
       numbr = -1.0;
       absval = fabs(numbr);
       printf("The fabs of (%f) is %f\n",numbr,absval);
       return EXIT_SUCCESS;
   }

Return Value

   Returns the absolute value of its double argument.

See Also

   abs, laabs, labs bs


See Also: abs labs bs

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson