2 ms·
it's a semantics problem, not a maths problem - modulus and remainder are not the same operation. This easily trips up people since `%` is often called "modulo"
by seritools 2y ago
it's a semantics problem, not a maths problem - modulus and remainder are not the same operation. This easily trips up people since `%` is often called "modulo", yet is implemented as remainder operation in many languages
https://stackoverflow.com/questions/13683563/whats-the-difference-between-mod-and-remainder https://stackoverflow.com/questions/13683563/whats-the-diffe...