• 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: Long Double Calculation on Intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Long Double Calculation on Intel


  • Subject: Re: Long Double Calculation on Intel
  • From: Richard Somers <email@hidden>
  • Date: Tue, 9 Oct 2007 13:43:13 -0600

Thank you so much Paul! That fixed the problem.

Second related question. Does anyone know how to get 128 bit floating point precision on Intel like what is available on PowerPC?

Richard


On Oct 9, 2007, at 10:52 AM, Paul Goracke wrote:

The values of result1 and result2 are correct; the output you're seeing isn't, because you're not using the correct printf specifier for long double. Change the second printf to:

	printf("cosl 45 degrees .14Le\n", result2);

(note the 'Le' instead of just 'e').

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Long Double Calculation on Intel
      • From: Richard Somers <email@hidden>
References: 
 >Long Double Calculation on Intel (From: Richard Somers <email@hidden>)
 >Re: Long Double Calculation on Intel (From: Paul Goracke <email@hidden>)

  • Prev by Date: Re: Where/when to #import
  • Next by Date: Re: multicasting and distributed objects
  • Previous by thread: Re: Long Double Calculation on Intel
  • Next by thread: Re: Long Double Calculation on Intel
  • Index(es):
    • Date
    • Thread