I see reports that ((int64_t)x >> 63) is undefined behaviour in C. Ok. Fine. Is there an equivalent that is somehow “defined”? I expect my hardware to use 2-complement. // cc @johnregehr
-
-
cppcheck gives me the following ... see screenshot. My question is… what do I do now if I want to be a good boy. Do I write my own assembly (not hard, but…).pic.twitter.com/kjsNQRioFw
- Show replies
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.