From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sourceware.org (Postfix) with ESMTPS id 9F4AC3858284 for ; Fri, 5 Jan 2024 10:49:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9F4AC3858284 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=inria.fr Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=inria.fr ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9F4AC3858284 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.134.164.83 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704451759; cv=none; b=CcwiXgS+w4CaD7RXrVju+mv1kZIa0vYU8ULhGl4HhEnS0mSAMO8tfH8oGB7mZg412pC+dDAI6gXM636oOjAKW5EcRS+NqOszPvfgBYp89J3qwdmHYezGo5pKOzD52eY7v2cAovstU+w/OJHHYR/mHLiCDDCoaC632QnvS+6A+UU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704451759; c=relaxed/simple; bh=VxzGkHwlThEW4MxPVORwc/fyZr/lQp+gMGDMseDau/Q=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=FF4DgdrzCtIh6T5D4TtSU33iP+8dgktAHbs9j9FTz1shxVoW6jdH7CAoJTFNsaouwLtoqAjXBCDZRut4o86zXOFwu3TtII2Fu5WJj3PVQc842HThlcww7RjU+Y4qlw3Tb1nE0EuFCl/mO+vx4cfrzM1yiL6QcS3QYhiY7a4DgG4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:message-id:from:to:subject; bh=D4hyL0iROfmMO9wRxCW5Yoxmb2KOms9pSjXCfJXhgzM=; b=Oq5KjcBgo4r40Y33Iq+CWNGg2Zl0YbikwE1SuupA71O0MYEkhVGZN02+ kQqt56PLY4DbD4KjKFQytGReNYyjNEzw7behzACXho73f7dgD9FP9SxYV r6B0YbyIhonPA73/5joGldeCiaWLdtK1s/BHuVDDA3KaRpgCuX0/RjN/u c=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=Paul.Zimmermann@inria.fr; spf=None smtp.helo=postmaster@coriandre Received-SPF: SoftFail (mail2-relais-roc.national.inria.fr: domain of Paul.Zimmermann@inria.fr is inclined to not designate 152.81.9.227 as permitted sender) identity=mailfrom; client-ip=152.81.9.227; receiver=mail2-relais-roc.national.inria.fr; envelope-from="Paul.Zimmermann@inria.fr"; x-sender="Paul.Zimmermann@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 include:mailout.safebrands.com a:basic-mail.safebrands.com a:basic-mail02.safebrands.com ip4:128.93.142.0/24 ip4:192.134.164.0/24 ip4:128.93.162.160 ip4:89.107.174.7 mx ~all" Received-SPF: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@coriandre) identity=helo; client-ip=152.81.9.227; receiver=mail2-relais-roc.national.inria.fr; envelope-from="Paul.Zimmermann@inria.fr"; x-sender="postmaster@coriandre"; x-conformance=spf_only X-IronPort-AV: E=Sophos;i="6.04,333,1695679200"; d="scan'208";a="145066106" Received: from coriandre.loria.fr (HELO coriandre) ([152.81.9.227]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2024 11:49:17 +0100 Date: Fri, 05 Jan 2024 11:49:16 +0100 Message-Id: From: Paul Zimmermann To: newlib@sourceware.org Subject: issue with tgamma X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, I discovered the following issue with tgamma: for x=-0x1.13a5ccd87c9bbp+1008 it yields +Inf instead of NaN: Checking tgamma with newlib-4.4.0.20231231 tgamma 0 -1 -0x1.13a5ccd87c9bbp+1008 [-nan] [inf] inf inf libm gives inf mpfr gives -nan This issue was present in earlier versions of Newlib, but we only found it recently since we improved our testing framework. Paul