std::abs(int), std::labs, std::llabs, std::imaxabs - cppreference.com
std:: abs (int), std:: labs, std:: llabs, std:: imaxabs From cppreference.com < cpp | numeric | math ... Computes the absolute value of an integer number. The behavior is undefined if the result cannot be represented by the return type. Contents 1 Paramet...