Re: Long Double Calculation on Intel
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