abs - C++ Reference - cplusplus.com - The C++ Resources Network
Returns the absolute value of x: |x|. These convenience abs overloads are exclusive of C++. In C, abs is only declared in (and operates on int values). Since C++11, additional overloads are provided in this header () for the integral types: These ......