TIL: Contrary to what I thought, static_cast<uint64_t>(int32_t) performs a sign extension and is hence not a drop-in for naked C cast. Wow.
How is that different from the normal type conversion (by cast or implicit)?
-
-
That matches what I said.
-
Indeed it does! It wasn't meant as disagreement. Sorry for the confusion.
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.