[PATCH 2/3] libm: Remove __ieee754_gamma_r variants

Corinna Vinschen vinschen@redhat.com
Wed Aug 26 18:20:46 GMT 2020


Hi Keith,

On Aug 26 10:03, Keith Packard via Newlib wrote:
> Gamma should consume the sign reported by lgamma internally instead of
> providing it back to the application. This removes the need to have _r
> variants as there is no longer any re-entrancy issues with the API.

You can't do that.  gamma_r/gammaf_r/lgamma_r/lgammaf_r are BSD
functions.  They have been exported by Cygwin since 2001.  The entry
points need to be kept available with unchanged semantics.


Corinna



More information about the Newlib mailing list