Re: [PATCH] Fix hypotf missing mask in hi+lo decomposition

Keith Packard via Newlib <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Fabian Schriever <[email protected]> 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.

-- 
-keith
signature.asc (application/pgp-signature, 832 B)
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.