mrpowhs

ABS

Feb 9th, 2014
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.07 KB | None | 0 0
  1. template <class T>
  2. inline T abs(T a)
  3. { return a > T(0) ? a : -a; }
Advertisement
Add Comment
Please, Sign In to add comment