Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Integers in C quiz. Parent comment
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
There are no comments on this comment yet.
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