Device Monitoring Studio - Monitor, log and analyze data coming through PC ports and connections
Download Device Monitoring Studio Hide this button

^ Bitwise XOR Operator

This operator performs a bit-wise XOR (eXclusive OR) operation on its operands.

Syntax:

exp1 ^ exp2

Usage:

7 ^ 8               // evaluates to 15
2 ^ 2               // evaluates to 0

This operator is not applicable to floating-point values.