Re: using lgamma_r
Re: using lgamma_r
- Subject: Re: using lgamma_r
- From: Michael McLaughlin <email@hidden>
- Date: Thu, 06 Mar 2008 11:34:37 -0500
- Thread-topic: using lgamma_r
On Mar 6, 2008, Steve Checkoway wrote:
> FWIW, the MacOSX10.3.9 SDK (i386) math.h *does* include the REENTRANT
> lgamma_r block. Anyone know where it went -- or why?
Does the implementation in lgamma.c in darwin not work on x86 and if
not, is it not easily "fixed"?
The 10.5 i386 math.h file has prototypes for lgamma() for float, double and
long double. AFAIK, the only difference with the lgamma_r() function is
that you pass the address of an int to use in place of the global int
referenced by lgamma(). Thus, the fix should be easy.
It looks to me like the REENTRANT block, in the i386 version, was simply
excised by mistake in between Panther and Tiger.
--
Mike McLaughlin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden