This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] std::experimental::gcd and std::experimental::lcd
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 2 May 2015 19:14:31 +0200 (CEST)
- Subject: Re: [patch] std::experimental::gcd and std::experimental::lcd
- Authentication-results: sourceware.org; auth=none
- References: <20150502151849 dot GZ3618 at redhat dot com> <alpine dot DEB dot 2 dot 11 dot 1505021813010 dot 4001 at laptop-mg dot saclay dot inria dot fr> <20150502164728 dot GA3618 at redhat dot com>
- Reply-to: libstdc++ at gcc dot gnu dot org
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