This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]
On 2005-05-31 10:30:52 -0400, Scott Robert Ladd wrote:
> If you follow Standard C, you are guaranteed source code portability, in
> the program compiles and produce the "same" results with any Standard C
> compiler.
>
> When we start talking about floating-point code, however, we enter the
> realm of "result" portability, in that different platforms (or different
> compiler swicthes) return slightly different numbers from the same
> source code.
This is not much different from integer arithmetic. Standard types
such as int may have different sizes on different platforms.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA