> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]; cygwin@cygwin.com
> Date: Mon, 4 Aug 2008 09:40:36 -0700
> Subject: RE: cygwin gcc: Different numerical results in thread vs in main()
>
> 1) The result from the within thread calculation matches my Mac output (note
> that the Mac is also an Intel based machine, and I'm also using gcc there,
> albeit version 4.0.1, so clearly something is operating differently there).
> The main() result is different from the Mac output.
>
rant>
I would have replied 5 minutes sooner but I was waiting for hotmail to let me
go to text
mode while an ad, probably composed by someone who doesn't know what a CPU is,
show
me an animation of something.
/rant>
The only reason I point this out is that you can write indefinite precision
math code but it will be slower. The compiler may generate much better code if
you don't care about the last few bits.
Definitely check the intel books on architecture and issues, not sure what to
suggest on floating
point but maybe one of the standards groups discusses the issues.
_________________________________________________________________
Reveal your inner athlete and share it with friends on Windows Live.
http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/