Is there a website with non-UB C code snippets for stuff that is UB if done directly (like converting uint to int assuming twos complement)?
-
-
Thanks. For reference (I just looked it up): The 2nd paragraph in 6.3.1.3 of the C99 standard.
-
FYI there are nice searchable/indexed versions of the (draft & TC) standards here: http://port70.net/~nsz/c/
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.