Y
Hacker News
new
|
ask
|
show
|
jobs
by
pcordes
3226 days ago
Nice. It seems gcc/clang don't know that trick. They still divide and then check that x/3 * 3 == x.
https://godbolt.org/g/V4kfuu
. (So do ICC17 and MSVC CL19).