Use the overloaded std::abs rather than C's abs(int) to address Clang's -Wabsolute-value