On Sat, 2 May 2015, Jonathan Wakely wrote: > std::abs seems to work fine for unsigned, the overload in <cmath> for > integral types just uses __builtin_fabs. http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#2192 That overload should die. -- Marc Glisse