From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59515 invoked by alias); 2 May 2015 17:14:36 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 59497 invoked by uid 89); 2 May 2015 17:14:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail2-relais-roc.national.inria.fr Received: from mail2-relais-roc.national.inria.fr (HELO mail2-relais-roc.national.inria.fr) (192.134.164.83) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sat, 02 May 2015 17:14:35 +0000 Received: from ip-205.net-81-220-140.rev.numericable.fr (HELO laptop-mg.local) ([81.220.140.205]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 May 2015 19:14:31 +0200 Date: Sat, 02 May 2015 17:14:00 -0000 From: Marc Glisse Reply-To: libstdc++@gcc.gnu.org To: Jonathan Wakely cc: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: [patch] std::experimental::gcd and std::experimental::lcd In-Reply-To: <20150502164728.GA3618@redhat.com> Message-ID: References: <20150502151849.GZ3618@redhat.com> <20150502164728.GA3618@redhat.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-SW-Source: 2015-05/txt/msg00143.txt.bz2 On Sat, 2 May 2015, Jonathan Wakely wrote: > std::abs seems to work fine for unsigned, the overload in 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