This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14384] Invalid use of extra precision floating-point with -O0 optimization
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2004 15:44:57 -0000
- Subject: [Bug c/14384] Invalid use of extra precision floating-point with -O0 optimization
- References: <20040302150001.14384.anz@obs-nice.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-10 15:44 -------
no you are missing the point that f1+f2 is not done in double precission but only done in single.
d1 = ((double)f1)+offset;
Will give you the addition done in double precission.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14384