From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85018 invoked by alias); 10 Mar 2018 00:52:18 -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 85004 invoked by uid 89); 10 Mar 2018 00:52:17 -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=H*c:HHHHH X-HELO: relay1.mentorg.com Date: Sat, 10 Mar 2018 00:52:00 -0000 From: Joseph Myers To: Steve Ellcey CC: Zack Weinberg , =?ISO-8859-2?Q?Ond=F8ej_B=EDlka?= , Siddhesh Poyarekar , Wilco Dijkstra , "libc-alpha@sourceware.org" , nd Subject: Re: [PATCH 2/6] Remove slow paths from sin/cos In-Reply-To: <1520636722.6774.157.camel@cavium.com> Message-ID: References: <1520636722.6774.157.camel@cavium.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1152306461-779667817-1520643129=:28686" 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/msg00265.txt.bz2 ---1152306461-779667817-1520643129=:28686 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Content-length: 611 On Fri, 9 Mar 2018, Steve Ellcey wrote: > And yet we have tests for large numbers in auto-libm-test-out-sin > and auto-libm-test-out-cos.  I was testing a different vector sin/cos Yes. A floating-point number represents a particular real number, not an interval, so all the usual accuracy goals (of results within a few ulps of the correct answer) apply for large inputs (but performance is not a concern for those inputs). Only for IBM long double is this relaxed, to treat values not representable in 106 mantissa bits as if they do represent intervals. -- Joseph S. Myers joseph@codesourcery.com ---1152306461-779667817-1520643129=:28686--