std::abs(float)

std::abs(float), std::fabs

Defined in header <cmath>
Defined in header <cstdlib> (since C++17)
float       abs( float arg );
(1)
double      abs( double arg );
(2)
long double abs( long double arg );
(3)