• 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: NOT solved: using long double math functions like sinl() with Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NOT solved: using long double math functions like sinl() with Cocoa


  • Subject: Re: NOT solved: using long double math functions like sinl() with Cocoa
  • From: Gregory Weston <email@hidden>
  • Date: Fri, 12 Jan 2007 17:28:37 -0500

Andrew Farmer wrote:

#include <stdio.h>
#include <math.h>

int main (int argc, const char * argv[])
{
    printf("%f\n%Lf", sin(1.5707963267948966),	// pi/2
                     sinl(1.57079632679489661923132169163974L));
    return 0;
}

This run fine on G5. Create new Foundation tool with this main.m:

As the original poster stated, this issue only appears to come up when Cocoa gets involved.

No. The original poster quite clearly stated that:

"Although this problem is NOT limited to Cocoa, I post this here, ...."
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSTextView inside the polygon.
  • Next by Date: Re: Illegal NSTableView data source
  • Previous by thread: Re: NSTextView inside the polygon.
  • Next by thread: NSPredicate and to-many relationships
  • Index(es):
    • Date
    • Thread