3 ms·
I'm a PhD in math. Modulo is a function in that it maps integer to integers. Power is a function mall mg integers to integers. Both are operators in the math se
by ChrisLomont 6y ago
I'm a PhD in math. Modulo is a function in that it maps integer to integers. Power is a function mall mg integers to integers. Both are operators in the math sense, and one can talk about operators commuting.
So the terms are correct.
As far as programmers, modulus is an operator, complete with operator overloading in many languages and satisfying operator precedence. So operator is the correct word there also.
Here's the idea from math
https://mathoverflow.net/questions/20968/rules-for-operator-commutativity https://mathoverflow.net/questions/20968/rules-for-operator-...