News for hackers. Stuff that matters.
Re:Python, unlike C, has the mod operator always return a po... by eesmith on Wednesday December 29, 2021 @05:23PM (#29730865)
Indeed!

The draft version "X3.???-1988" at https://web.archive.org/web/20161223125339/http://flash-gord... (linked-to from Wikipedia) has:

> % modulus operator: 3.3.5

which seems off to a good start for K&R, but then also has:

> remainder operator, %, 3.3.5

and 3.3.5 says "the result of the % operator is the remainder" -- not a whiff of a modulus present there.

Thanks!

There are no comments on this comment yet.