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