From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from elaine.keithp.com (home.keithp.com [63.227.221.253]) by sourceware.org (Postfix) with ESMTPS id 58EB0388C021 for ; Thu, 17 Dec 2020 16:13:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 58EB0388C021 Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id 29B4F3F2E3BA; Thu, 17 Dec 2020 08:13:29 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from elaine.keithp.com ([127.0.0.1]) by localhost (elaine.keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yKwh0ykEJWVS; Thu, 17 Dec 2020 08:13:28 -0800 (PST) Received: from keithp.com (koto.keithp.com [10.0.0.2]) by elaine.keithp.com (Postfix) with ESMTPSA id 90F983F2E39E; Thu, 17 Dec 2020 08:13:28 -0800 (PST) Received: by keithp.com (Postfix, from userid 1000) id 2AE6B15821A4; Thu, 17 Dec 2020 08:13:28 -0800 (PST) From: Keith Packard To: Paul Zimmermann , Jeff Johnston Cc: newlib@sourceware.org Subject: Re: regression in tgamma? In-Reply-To: References: Date: Thu, 17 Dec 2020 08:13:27 -0800 Message-ID: <871rfo76mw.fsf@keithp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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: Thu, 17 Dec 2020 16:13:31 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Paul Zimmermann writes: > zimmerma@tomate:/tmp/newlib-cygwin$ ./a.out=20 > x=3D-0x0p+0 y=3Dinf > x=3D-0x1.53f198fe3b278p+7 y=3D0x1.fd6d312572d9cp-1015 > > The double value is ok, however the float result should be -inf. > This should have been fixed by Keith Packard in commit 4641693. And it remains fixed in my code here (which is in picolibc instead of newlib)? x=3D-0 y=3D-inf x=3D-169.972 y=3D5.66756e-306 (using %g instead of %a) =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAl/bg6cACgkQ2yIaaQAA ABHppw//ZqpSrpgdJQ8xt6AfFOyUAozmGbUQanPBPWyqiYs3q3JOO6m6HBG19jNJ Ad7SJoonN9Odz9Tupi4wrGtb9pY3EilwZvgV6UR2rCb+JUYfORP6jwRlQWHbniYz fghhrtcIS49vqyyDdmTd+LS9qsZYub8S90gOFTRyaqxMpXvagDD+5Sy5ajsshrVC AZbze3ijYCRi0/kiD4yllSK7HN86ctrKEljd+ZHiQUf8FVnx3viNtEFvRKrxqh4U pI1CJR5UW22SSMmE1MRx10frSKUOjC4T8OzoolnVtmp6k8nOTCHWeQwebA6Ibq1m MabYdDfpcBbsAJiwGCBv09sOfc8kDFiD1yqcXR9pFXZqqqpQ0/8MaYI6IO7iIxas ON6c17YnCJjfcP2dz4ALzInMEFkWlZz/boOc5VwQw8dgpga8W9w0dS4tVTei9N7l S/ZWka6mYVbcOkmK0krzhnvYTDwjacq/ePrh9xmo/t1pGIyFnPn/jnBqImep05NC 2okG2u8eB7Jv//Le4qQ97Gv7Cgo9vvCbYuYt4cAtrNtRHk6b7jdBhzsq2VC4gXs9 l5rtRTV37XQyhKZBZV3BnslRu9rCdeYh4ZDELRoz2V4DfD92aT8DonfZbay3MM6q b1f4UqSS5OB51k1vhDMSfnr1XVDRjyZd1QrR3HYoUk1dA+UoXJY= =cZWX -----END PGP SIGNATURE----- --=-=-=--