Replies to message #3,959

  • 🔧 Chat is under maintenance.
    🧊 New server is in an office waiting on a mexican.
y a t s

Programming thread

~ is the bitwise complement. For example, let's take the number 88. In binary (to 8 bits), it is 01011000. To take the complement of it, we flip...
polyester

Programming thread

A reasonably common use-case for ~ would be clearing a specific bit of a bit field, as the unsetBit member function does in this class: class...
Kosher Salt

Programming thread

The name is not particularly helpful in understanding what it actually is... the names "ones' complement" and "two's complement" are kind of...
Back
Top Bottom