3 ms·
I am not really a programmer or mathematician, so take this for what it is, but to me, the statement makes linguistic sense, if you read it out like a first gra
by abakker 8y ago
I am not really a programmer or mathematician, so take this for what it is, but to me, the statement makes linguistic sense, if you read it out like a first grader.
If I divide one thing into zero groups, how many items do I have in each group? Zero. Edited per comment below.
If I were really pedantic, I'd say that in the above, it's almost like the input "1" is not being divided, but grouped.
The funny thing then, is that if I am grouping instead of "dividing", then if I enter 1 modulo 0, I'd expect to get 1. i.e. the modulo zero should be an identity function: 1%0 = 1, c%0 = c.