Comment

Comment by x86x87

It does not. Modulus is only defined for integers. The point was that the 57 or 75 does not matter when you are looking at the remainder.

Modulus in this case means divide into 7 parts and when you cannot divide anymore keep the reminder.

If x = a*b+c

x ℅ a = c and x % b = c

parent x86x87 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton