News for hackers. Stuff that matters.
Re:Mathematics for Programmers [pdf] by macmmajor on Wednesday September 23, 2020 @11:47PM (#24575047)
You can think of it as applying a mod operator after each operation.

Say we wanted to work with mod 5 Then 6 + 8 = 14 = 4 mod 5

Re:Mathematics for Programmers [pdf] by eru on Thursday September 24, 2020 @03:29AM (#24576213)
Doesn't work for division. At least not in general in a naive fashion.