------- Comment #2 from pinskia at gcc dot gnu dot org  2007-08-25 09:14 -------
(float) 5 / 8
Means the same as:
((float)5) / 8

But while both:
 (float) (5 / 8)
and
float (5 / 8) 
Are doing the division in integer.

So this is invalid.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33182

  • [Bug c++/33182] () pinskia at gcc dot gnu dot org

Reply via email to