Re:Signed Integers Are Two’s Complement
by microcolonel on Thursday May 31, 2018 @12:41AM
(#17194008)
The equivalent for C/WG14:
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2218.htm
[ Parent
| on HN ]
That document has this listed as a Change:
Conversion from signed to unsigned is always well-defined: the result is the unique value of the destination type that is congruent to the source integer modulo 2ⁿ.
...but that's not a change - it's been the case in C all along.