From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sourceware.org (Postfix) with ESMTPS id 10BFE389FC20 for ; Fri, 18 Dec 2020 08:37:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 10BFE389FC20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=inria.fr Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Paul.Zimmermann@inria.fr X-IronPort-AV: E=Sophos;i="5.78,429,1599516000"; d="scan'208";a="368043435" Received: from tomate.loria.fr (HELO tomate) ([152.81.10.51]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Dec 2020 09:37:35 +0100 Date: Fri, 18 Dec 2020 09:37:35 +0100 Message-Id: From: Paul Zimmermann To: Jeff Johnston Cc: keithp@keithp.com, newlib@sourceware.org In-Reply-To: (message from Jeff Johnston on Thu, 17 Dec 2020 16:28:12 -0500) Subject: Re: regression in tgamma? References: <871rfo76mw.fsf@keithp.com> <87v9d05jkl.fsf@keithp.com> X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2020 08:37:38 -0000 Hi again, I have checked both tgammaf and tgamma with commit b2f3d59 (on x86_64). tgammaf (exhaustive test of all the 2^32 inputs) no longer has the issue of tgammaf(-0) = +inf instead of -inf, and similarly for -2^-128 <= x < 0. The larger ulp error is 239 ulps as in 3.3.0 (for x=-0x1.01743cp+5). For tgamma, by random testing I get the same maximal error as before: 2244.45 ulps for x=-0x1.53f198fe3b278p+7. Thus the regression we had in 4.0.0 has gone. Thanks Jeff, Paul