[Bug c/56399] Adding int to float generates incorrect results

2013-02-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56399 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Commen

[Bug c/56399] Adding int to float generates incorrect results

2013-02-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56399 --- Comment #6 from Jonathan Wakely 2013-02-19 18:24:55 UTC --- Or just stop typing 'float' and type 'double' instead.

[Bug c/56399] Adding int to float generates incorrect results

2013-02-19 Thread johnfoxrep at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56399 --- Comment #5 from johnfoxrep at yahoo dot com 2013-02-19 18:08:54 UTC --- I think float should be a thing of the past as the CPU should be able to process double as fast as float today. Using double by default would prevent hard to find bu

[Bug c/56399] Adding int to float generates incorrect results

2013-02-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56399 --- Comment #4 from Jakub Jelinek 2013-02-19 17:50:16 UTC --- Your expectations are wrong then. Size and format of float is part of ABI, so can't be changed just because somebody has bad expectations, furthermore, for many uses IEEE 754 s

[Bug c/56399] Adding int to float generates incorrect results

2013-02-19 Thread johnfoxrep at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56399 johnfoxrep at yahoo dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Re

[Bug c/56399] Adding int to float generates incorrect results

2013-02-19 Thread johnfoxrep at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56399 johnfoxrep at yahoo dot com changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug c/56399] Adding int to float generates incorrect results

2013-02-19 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56399 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|