From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68983 invoked by alias); 22 Mar 2018 22:34:09 -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 68107 invoked by uid 89); 22 Mar 2018 22:34:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 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: Thu, 22 Mar 2018 22:34:00 -0000 From: Joseph Myers To: Wilco Dijkstra CC: "libc-alpha@sourceware.org" , nd Subject: Re: [PATCH 6/7] sin/cos slow paths: refactor duplicated code into dosin In-Reply-To: Message-ID: References: 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: 2018-03/txt/msg00528.txt.bz2 On Wed, 21 Mar 2018, Wilco Dijkstra wrote: > Refactor duplicated code into do_sin. Since all calls to do_sin use copysign to > set the sign of the result, move it inside do_sin. Small inputs use a separate > polynomial, so move this into do_sin as well (the check is based on the more > conservative case when doing large range reduction, but could be relaxed). OK. -- Joseph S. Myers joseph@codesourcery.com