1*ed84df00SBruno Cardoso Lopes #include_next <math.h> abs(T t)2*ed84df00SBruno Cardoso Lopes template<typename T> T abs(T t) { return (t < 0) ? -t : t; } 3