Re:C++ proposal: There are 8 bits in a byte
by epcoa on Thursday October 17, 2024 @07:51PM
(#41875009)
Signed integers did not have to be 2’s complement, there were 3 valid representations: signed mag, 1s and 2s complement. Modern C and C++ dropped this and mandate 2s complement (“as if” but that distinction is moot here, you can do the same for CHAR_BIT). So there is certainly precedence for this sort of thing.
[ Parent
| on HN ]
There are no comments on this comment yet.