Hacker News new | ask | show | jobs
by AstralStorm 3477 days ago
It generally does. (GCC, Clang and ICC) But it cannot simplify the operation on some architectures or when the factor is variable.

The "fastrange" is a very different operation on prime factors than modulo.