|
From: Daniel J S. <dan...@ie...> - 2006-10-02 02:22:19
|
Hans-Bernhard Br=F6ker wrote: >>What about the Gamma problem? Is Mac hurt by it or not? >=20 >=20 > They're obviously hurt --- the question is what is the best solution we= =20 > can offer, and whether Apple will ever fix their end of the problem. How can we ask someone implementing C99 to manipulate a variable "signgam= " when the C99 standard doesn't call out such a variable? My understandi= ng is that C99 uses tgamma() and lgamma() and there is no need for signga= m. The patch I offered handles this situation. Priority goes to tgamma() an= d lgamma() for the GAMMA() and LNGAMMA() use in specfun.c. If they are n= ot present then it falls back on lgamma_r() and gamma() (ln version) for = GAMMA() and LNGAMMA() use in specfun.c. If those aren't present, gnuplot= falls back on its own version of the routines. The patch never uses sig= ngam because this is not thread safe. It's a very good patch, I believe. Dan |