c/8395: gcc 2.95.4 and 3.2 generate wrong code for double on intel
Toon Moene
toon@moene.indiv.nluug.nl
Sat Nov 2 07:56:00 GMT 2002
The following reply was made to PR c/8395; it has been noted by GNATS.
From: Toon Moene <toon@moene.indiv.nluug.nl>
To: Marco Bernardo <bernardo@sti.uniurb.it>
Cc: Bruce Allen <ballen@gravity.phys.uwm.edu>, Bruce Allen
<ballen@aei.mpg.de>, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: c/8395: gcc 2.95.4 and 3.2 generate wrong code for double on
intel
Date: Sat, 02 Nov 2002 16:56:04 +0100
Marco Bernardo wrote:
> 1. Some colleagues of mine tried to compile and run the same program
> on other platforms, in particular on a sparc machine, and the output
> turned out to be
> -6 -1.2 5 0 -6 0
> Why is that? Isn't the IEEE 754 standard adopted on sparc machines?
Yes. For further explanations, see the "Further Readings" item on our
home page:
http://gcc.gnu.org -> "Further Readings" (left column) ->
Differences among IEEE 754 implementations (by Doug Priest)
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
More information about the Gcc-prs
mailing list