• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: using lgamma_r
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: using lgamma_r
      • From: Jeremy Pereira <email@hidden>
  • Prev by Date: Re: Interface Builder 3.0, SVN and NIB files
  • Next by Date: Re: Question about target vs project settings.
  • Previous by thread: Re: using lgamma_r
  • Next by thread: Re: using lgamma_r
  • Index(es):
    • Date
    • Thread