Well, maybe not - it could perhaps admit an int wider than 32 bits.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I think that there is an error, there. -2^31 may just be a trap representation, even for int32_t.
-
No, intN_t is explicitly required to be full range 2s complement.
-
Yes, but full range 2's complement may have the bit pattern with 1 and then all 0s as a trap representation. This is explicitly stated in 6.2.6.2 p2 towards the end.
-
No, "full range" means not that case. In particular INTN_MIN is required to be a negated power of two. See 7.20.2.1 "Limits of exact-width integer types".
End of conversation
New conversation -
-
-
Does that really matter though? Any machine that doesn't use twos complement _also_ prob violates POSIX's requirement that CHAR_BIT == 8 :).
-
Ehhh, nevermind. Guess I'm never gonna see a POSIX-compliant OS for the Kitchen Computer :( https://en.wikipedia.org/wiki/Honeywell_316 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.