3 ms·
I agree that in terms of modern proposals there's a lot of "doing what we can" However, leaving the overflow check/behavior on the multiplication as "implement
by raverbashing 4y ago
I agree that in terms of modern proposals there's a lot of "doing what we can"
However, leaving the overflow check/behavior on the multiplication as "implementation defined" seems like a bad call to me
- klodolph 4y agoThe fact that signed overflow is undefined is unfortunately something that is necessary for certain optimizations to be valid. You can, for example, try `-fwrapv` or `-ftrapv` on GCC, but if you run through an extensive benchmark suite you’ll see regressions. Not everyone cares about the benchmarks, but enough do.
- salawat 4y ago...Weren't we talking unsigned though?