[Bug c/14384] Invalid use of extra precision floating-point with -O0 optimization

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 10 15:44:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list