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]>
On Aug 26 12:10, Keith Packard via Newlib wrote:
> Corinna Vinschen via Newlib <[email protected]> writes:
> 
> > 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.
> 
> They changed on accident in 2002 -- gamma_r *used* to be an alias for
> lgamma_r and was changed to be a (broken) alias for tgamma.

Nevertheless, the symbols have to be exported for backward compatibility.
So you're saying aliasing gamma_r to lgamma_r and gammaf_r to lgammaf_r
in the DLLs export table would be sufficient?


Thanks,
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.