cppreference.com
>
Standard C Math
>
fabs
fabs
Syntax:
#include <cmath> double fabs( double arg );
The function fabs() returns the absolute value of
arg
.
Related topics:
abs
fmod
labs