Cheddar Documentation
Search
⌃
K
Cheddar Documentation
Search
⌃
K
Introduction
Syntax
Literals
Mathematics
Addition
Subtraction
Multiplication
Division
Exponentiation
Remainder
Negation
Sign
Root
Bitwise AND
Bitwise OR
Bitwise XOR
Bitwise NOT
Bitwise Left Shift
Bitwise Right Shift
Variables
Functions
Default Operators
Control Flow
Standard Library
Developing
Powered By
GitBook
Bitwise XOR
Syntax
x
^
y
Explanation
Sets each bit to
0
where the corresponding bit in both operands is different
Truth Table
A
B
A ^ B
0
0
0
0
1
1
1
0
1
1
1
0
Previous
Bitwise OR
Next
Bitwise NOT
Last modified
3yr ago