> On 1 Oct 2019, at 21:21, Kaz Kylheku <k...@kylheku.com> wrote: > > On 2019-10-01 06:53, Hans Åberg wrote: >> One should note that the unsigned types are required to be 2’s >> complement C/C++, unlike the signed ones, cf. > > That is untrue by definition, since two's complement is strictly > a mechanism for representing negative values, which the unsigned > types do not do. They follow a "pure binary enumeration" > (I think that's the wording).
Sorry, it should be integers modulo 2^n, where n is the number of bits, which 2’s complement is equivalent to with a certain choice of integer representatives.