Tilde

suggest change

Introduction

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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents