From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14095 invoked by alias); 21 Oct 2016 16:24:16 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 14005 invoked by uid 89); 21 Oct 2016 16:24:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Fri, 21 Oct 2016 16:24:00 -0000 From: Joseph Myers To: Florian Weimer CC: GNU C Library Subject: Re: [PATCH] Define iszero as a function template for C++ [BZ #20715] In-Reply-To: Message-ID: References: <2b2fa3c4-5bd6-4025-717f-fe2e2ee19555@redhat.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2016-10/txt/msg00360.txt.bz2 On Fri, 21 Oct 2016, Florian Weimer wrote: > On 10/21/2016 06:12 PM, Joseph Myers wrote: > > On Fri, 21 Oct 2016, Florian Weimer wrote: > > > > > Tested on x86_64, ppc64, ppc64le, s390x, aarch64. > > > > > > I'm not sure if the new test is particularly meaningful, but at least it > > > catches syntax errors in . > > > > This seems fine to me (with negative zero included in the testcase), > > Oh. How do I get a negative zero? Would T{-0.0} be sufficient? Or should I Yes, T{-0.0} or -T{0} should suffice. -- Joseph S. Myers joseph@codesourcery.com