------- Comment #14 from pluto at agmk dot net  2009-10-22 09:01 -------
(In reply to comment #10)

> However, I do not fully trust the double arithmetics yet, although some test
> cases work.  Does anybody else know a better way to avoid an overflow in ((a *
> b) / c) with only integer arithmetics and normal rounding?

you can use a 128-bit integer type on x86-64.


-- 


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

Reply via email to