On Wed, 2004-05-12 at 15:12, Ingo Molnar wrote: > * Davide Libenzi wrote: > > > int foo(int i) { > > > > > > return i * 1000 / 1000; > > } > > try unsigned and you'll see: [snip] I forgot to add that yes I know i * (x / 1000) is different than i * x / 1000 in integer math. Please don't hit me. -- Zan Lynx