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]

[Bug c++/33182] ()



------- Comment #3 from siegerstein at pochta dot ru  2007-08-25 10:01 -------
(In reply to comment #2)
> (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.
> 

Thanks, Andrew!
OPENSOURCE FOR EVER! :)


-- 

siegerstein at pochta dot ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


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


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