|
From: CM <mon...@gm...> - 2006-10-04 08:16:24
|
I have verified that the latest patch, the one that does everything at configuration time, works on my Intel MacBook Pro. Thanks, Daniel! +1 - C On 9/28/06, Daniel J Sebald <dan...@ie...> wrote: > > Hans-Bernhard Br=F6ker wrote: > > Daniel J Sebald wrote: > > > > > >>Probably so. If this is the most up-to-date documentation: > > > > > >> > http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/l= gamma.3.html > > > > > >>there is no mention of a variable signgam. > > > > > > And that's a solid bug in any OS math library that purports to implemen= t > > C99 or any recent level of Unix standard compliance. lgamma() is > > required to be there, and it's equally required to have a signgam to go > > with it. > > > > > 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. > > Well, thanks for pointing out the standard, didn't know there was a C99 > standard. However, if this is the standard documentation at: > > http://www.open-std.org/JTC1/SC22/WG14/www/standards > > under WG14 N1124 (it's a PDF file), then I don't immediately see any > indication that lgamma() requires there be an associated signgam > variable. In fact, there is no such signgam in the document anywhere. T= he > documentation appears just as listed on the apple websight. > > There isn't even a gamma() function in C99. 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. > > So, that first patch I have on SourceForge is the C99 version (just tgamm= a > or lgamma). The second patch is the "alright, we'll be nice to all you > behind the curve computer users out there" (which is probably somewhere n= ear > 99.73%) version. > > Dan > --=20 :(){ :|:&};: |