c:math:fabs

C++ Reference

fabs

Syntax:

    #include <cmath>
    double fabs( double arg );

The function fabs() returns the absolute value of arg.

Related Topics: abs, fmod, labs