14 June 2016

Modulo

Python does it as described in 3.4 MOD: THE BINARY OPERATION in Concrete Mathematics: A Foundation for Computer Science (2nd Edition). C does it in a different way. It seems that Java and Go do the same thing as C.