Re: [PATCH 2/3] libm: Remove __ieee754_gamma_r variants
Keith Packard via Newlib <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
Brian Inglis <[email protected]> writes: >>> Then tell us what you want gamma and gamma_r to do for Cygwin. >> >> I did: https://sourceware.org/pipermail/newlib/2020/017946.html Oops! I appear to have missed that mail. > FYI docs/spec: > https://sca.uwaterloo.ca/coldfire/gcc-doc/docs/libm_21.html#SEC21 > http://www.ece.ualberta.ca/~cmpe401/docs/coldfire/libm.pdf#page=20 > https://ftp.rtems.org/pub/rtems/docs/3.2.0/libm-3.2.0.ps - see p.18 That's quite helpful actually and says that cygwin's gamma matches glibc, which makes the change from 2002 just a bug. Switching gamma back to lgamma is quite simple. Here's what I did: 1. Remove the gamma* function implementations and make them explicit aliases to lgamma*. 2. Change the name of the __ieee754_gamma* functions to __ieee754_tgamma* and remove the _ieee754_gamma*_r variants I've sent a patch doing this to the list. -- -keith
signature.asc
(application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAl9RX00ACgkQ2yIaaQAA ABGiCw//WStalijJhiFOXgjZWp4D2E3R6L0em34P6hV3cUM0uiOeSUrSO40C05RI KegM2/RW1S/P/H0o0lY/MwI/FcVm1eXkrSv7l2Zjaf5WyPGSPi3lq320FX8wIlM2 0dDVAK6YapumC8PnytK1G9x+uKPWrFu6wxPKiLFbkfb2mTO7JHI/gD02X5WkBNrF wwEJ8fiVDUX77oA96v/kuaP9f5PZWJUsiE7EtQLqld90KwUpXD2Pa7bm4oEVu+5p ak6h5JUYwKwrg7TBCQlOstdZCfglqW+wpibJx62sV7z4yglWTDiY7rzZbPk9kvpf yXp8tijGvcYviGkHoQIo6cO+qzavcGFdihOdmhzdC7vc/VIk80ILUSGwZzPSgW7o f8dHW+GpUyaPjrTk7P8pb2Yalh7QgwCvzn/MxftBg4uFvcSivLJFYc67VVllRJpW G77a+HgyxNr/E0zQNxg2dWzt5CREDw5DD+G1+g0TX0ksmpB94Yzm6vMn2CN3ZXXP vUOcnbfUlb37aKtdFS8PMegyU+ufj4xTHdcFJRm2EZW/rDZg2QbQC8VztjW8+7a+ GVGCGkccbkRPCWc3HhMEriJBQA8kWfC6pIx8AihXKIUkn63x5QIyJv5BM3GPb37Q 0eVqRZBn0a5Z9EM16zwB0oIMbGoRXCw1xUxhqLdlaWOwsGzfdSU= =1oE+ -----END PGP SIGNATURE-----