News for hackers. Stuff that matters.
Re:The C23 edition of Modern C is now available for free by wahern on Tuesday October 15, 2024 @05:21PM (#41853245)
I don't have my copy of K&R handy, but this distinction has existed since the initial codification. From C89:

  3.1.2.5 Types

  [...] A computation involving unsigned operands can never overflow, because a result that cannot be represented by the resulting unsigned integer type is reduced modulo the number that is one greater than the largest value that can be represented by the resulting unsigned integer type.
Source: C89 (draft) at https://port70.net/~nsz/c/c89/c89-draft.txt

There are no comments on this comment yet.