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 3A593385C017 for ; Thu, 19 Mar 2020 22:27:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3A593385C017 Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id A98663F2B5B8; Thu, 19 Mar 2020 15:27:40 -0700 (PDT) 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 Bw4xCJUAcC2L; Thu, 19 Mar 2020 15:27:39 -0700 (PDT) Received: from keithp.com (koto.keithp.com [10.0.0.2]) by elaine.keithp.com (Postfix) with ESMTPSA id 679153F2B5B7; Thu, 19 Mar 2020 15:27:39 -0700 (PDT) Received: by keithp.com (Postfix, from userid 1000) id EE0991582127; Thu, 19 Mar 2020 15:27:38 -0700 (PDT) From: "Keith Packard" To: Fabian Schriever , newlib@sourceware.org Cc: Fabian Schriever Subject: Re: [PATCH] Fix hypotf missing mask in hi+lo decomposition In-Reply-To: <20200319153408.1413-1-fabian.schriever@gtd-gmbh.de> References: <20200319153408.1413-1-fabian.schriever@gtd-gmbh.de> Date: Thu, 19 Mar 2020 15:27:38 -0700 Message-ID: <87r1xoyo85.fsf@keithp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS 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, 19 Mar 2020 22:27:43 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Fabian Schriever writes: > Add the missing mask for the decomposition of hi+lo which caused some > errors of 1-2 ULP. > - SET_FLOAT_WORD(t1,ha+0x00800000L); > + SET_FLOAT_WORD(t1,(ha+0x00800000L)&0xfffff000UL); Looks correct to me. I note that glibc has switched to using double for float paths, so there's no comparable code there. =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAl5z8doACgkQ2yIaaQAA ABFltxAAnH1NvIbJNG75c6iplvqPd2PZot1eVcOEnLNFMxRrOgEKl+Fe0FBP1t4x DJg85WsHWCELjl0eMzOcMSK8qcl31IzdPTlw60L51WIDwurYoWoAvwe47Cv9/581 XcWWUDZhvsYkrI2UkJFyvVEAFGKsGp6s5n4iddIboTxDYQnAjyr6T8+P3BhhvmDC P+/isy+6/rjeR2Ha89+rtfe49jgZe3mOKWlzZXSwfZHlu0BslGq79EP21XcZKB5k VEeY3IxMEqe3bxvrQpKoOi9DrC11F8f+LV/bOIYT2Tr769/GU+J11O2CJ8A3vnzX laarTpIuGPbUbSDG07KmpNX+TMQNP+BTZwlBCHFkNH1GbgH52nGexq0EqELZg3Xw 45HV2/MkZMEPwnWH17Hc15i9LzE7wGFF9kGhDOvU9z39Npm2zi76l0eR89wI7wvc wucXC3W5fX6IOOWBaJ6qcjC/dmsS3bXjuL6whhyK28IkniM052YzHcowD1eyINBX qimJL3mnR9PqXN9ymns0ZjoXXCJeh7g3+4wRTJ0iz+dtyA6S2W9SGoxK7aJtdjA3 tcM9LeE4rJ7DLUAK4qvd0CF3bhZp5pA3g4QWrC2FL42IECMgxAM2wxp4SQ1q1URO FEV0Xqv+IbaezeF76/cDLV9HGtA3/Ce3vg6qwoItvo2QlsaUjB8= =re0z -----END PGP SIGNATURE----- --=-=-=--