I'm reading a bit of C code in an OS kernel that says
x & ~(uint32_t)CST_IEc;
What does the ~() mean? It's a tilde followed by parentheses!
~() is actually two things:
(uint32_t) is a cast.~ is a bitwise complement operator.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With