by greaterthan3 · 4y ago · 0 comments
And here's an exact quote from the C11 standard:
>If the quotient a/b is representable, the expression (a/b)*b + a%b shall equal a; otherwise, the behavior of both a/b and a%b is undefined.
http://port70.net/~nsz/c/c11/n1570.html#6.5.5p6
No comments yet.