fabs() Mathematics Function fabs() Compute absolute value #include <math.h> double fabs(z) double z; fabs implements the absolute value function. It returns z if z is zero or positive, or -z if z is negative. ***** Example ***** For an example of this function, see the entry for ceil. ***** See Also ***** abs(), ceil(), floor(), frexp(), mathematics library COHERENT Lexicon Page 1