Re: [PATCH 2/3] libm: Remove __ieee754_gamma_r variants

Corinna Vinschen via Newlib <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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
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.