TIL POSIX forbids (probably accidentally) ones complement and sign/magnitude int.https://stackoverflow.com/a/48012314/379897 …
-
-
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 -
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.