News for hackers. Stuff that matters.
Re:A Reply to “Let’s stop copying C” by Vassvik on Sunday January 26, 2020 @05:29AM (#22151405)
It's definitely a typo.

Conceptually I prefer looking at them as

    a % b  = a - trunc(a / b) * b
    a %% b = a - floor(a / b) * b
 
The latter is even used as % in languages such as Python, which further compounds any syntactical confusion. :D

There are no comments on this comment yet.