Hacker News new | ask | show | jobs
by marcosdumay 846 days ago
That's not any clearer. Both "modulo" and "remainder" can be defined in ways (yeah, more than one) that include or exclude negative numbers.

You have to memorize the full definition. There's no mnemonic shortcut.

1 comments

Remainder goes with division, and respects invariants

Modulus doesn’t. I believe that algebraically equality module N can exist without division