std::abs(int)

std::abs(int), std::labs, std::llabs, std::imaxabs

Defined in header <cstdlib>
Defined in header <cmath> (since C++17)
int       abs( int n );
long      abs( long n );
long long abs( long long n