Device Monitoring Studio - Monitor, log and analyze data coming through PC ports and connections

~ Bitwise NOT Operator

Bitwise NOT operator inverts all bits of the expression.



The following code fragment illustrates the use of the bitwise NOT operator:

~7       // evaluates to -8

This operator is not applicable to floating-point values.