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:55:00 GMT 2002


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-bugs mailing list