On Thursday 28 September 2006 11:57 am, Daniel J Sebald wrote:
> Hans-Bernhard Br=F6ker wrote:
> > Daniel J Sebald wrote:
> > > So perhaps it has no meaning anymore for Apple's platform.
> > That's not Appple's decision to make.
> > > Why they would still have the variable in
> > > the library if that were the case, I'm not sure.
> > They must have it, and they must use it as defined in all
> > applicable standards.
> I'm guessing the concept
> is to move away from signgam, I believe, for which the
> non-threadedness may have played a factor in their decision.
Given that in order to be mathematically correct the sign=20
information must be present *somewhere*, this leaves two options.
(1) lgamma_r(double x, int *signp)
The docs even say as much:
"Since using a constant location signgam is not thread-safe,
the functions lgamma_r() etc. have been introduced; they
return this sign via the parameter signp."
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle WA