Tilde
suggest changeIntroduction
The ~ operator converts its operand with ToInt32, then flips every bit of that 32-bit value. ~n is -(n + 1) for a 32-bit integer, so ~1 and ~1.9 are both -2.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents