This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/8395: gcc 2.95.4 and 3.2 generate wrong code for double onintel


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]