From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 077841F852 for ; Tue, 15 Feb 2022 01:52:26 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 77B5F3857C5D for ; Tue, 15 Feb 2022 01:52:24 +0000 (GMT) Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 8C4833858D20 for ; Tue, 15 Feb 2022 01:52:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8C4833858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: oj9hEaaiRG37CDuLYOflruoxAbJ8DU2iMXHdaLMfrUSNrxO0R9LSnkb00HZPbULMOfKbnfga3o l7Adw3YHur1wwayy/KH6jJP7ZejZi56bTXtoDOhHUgA1rMu5GC+5nhx9xn/JQcU0GXPoAVDm9w Mmj71tL2BSVVUmY7hC+oRvWhByJYaQz9AdEiHYCZ3zjMcm5jRUP1FSQOeXkriFLtKiSdpbYieB XZNuF3GnWesFdAtH23V6OTrhBmwgrPm8IIs4ZezWf4BGy03q9iKAu4s2BXN1rIiOvtRLLMA0v8 JWA= X-IronPort-AV: E=Sophos;i="5.88,369,1635235200"; d="scan'208";a="71824458" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 14 Feb 2022 17:52:09 -0800 IronPort-SDR: ZzyCZ+VjTvmiSaTeYIBNkuSeIo8cS23aTJ2//qq0j2+3JwC5SDePUvbQiCYRufcQv+FM8s6hSk de9WNZ8BQfxCce6T9EtfKHtWTilcfPckjDPNGbT6iR2HEDLfEP+KNz2AzWlXGfR4+funtkhBNw YraXOYLoWp3FulCuQhqeN2WPiX6GLZpT/heJF2KkSqx3lzFmNf7Aj1RhI1RVD/q70YFSrTI/Oe sWlXWhB4xjazPsUDnf2yoyGc2SW1Au8NX43Ekw9wISg+S5bCPDQTUwgVgN+hXdPI+mngCuho8y qgo= Date: Tue, 15 Feb 2022 01:52:04 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Paul Zimmermann Subject: Re: Accuracy of Mathematical Functions In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-07.mgc.mentorg.com (139.181.222.7) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: libc-alpha@sourceware.org, vincenzo.innocente@cern.ch Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On Sat, 12 Feb 2022, Paul Zimmermann wrote: > > 1. I don't know if any of those libraries include any of the new functions > > C23 adds from TS 18661-4 (beyond exp10), but if they do, it might be worth > > adding them to the comparison. (My remarks from > > > > apply regarding adding them to glibc - when I get time I hope to add them, > > as with other new C23 features, if no-one else has done them by then.) > > is http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1946.pdf the correct > reference for the list of these functions? Most of them are available in > MPFR, when they will be available in glibc we might indeed add them. I think N2401 was the version used for integration into C23. I'd advise using the current C23 working draft (currently N2731, but hopefully N2912 will become available soon). Note that the reduction functions from TS 18661-4 weren't integrated into C23 (but would also have been much more awkward to handle in this accuracy testing); instead there will be a revision of TS 18661-4 (and -5) based on C23 to include those features not integrated. -- Joseph S. Myers joseph@codesourcery.com