a b |
a==b |
a===b |
a!=b |
a!==b |
a&b |
a&&b |
a|b |
a||b |
a^b |
---|---|---|---|---|---|---|---|---|---|
0 0 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 1 |
0 |
0 |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
0 x |
x |
0 |
x |
1 |
0 |
0 |
x |
x |
x |
0 z |
x |
0 |
x |
1 |
0 |
0 |
x |
x |
x |
1 0 |
0 |
0 |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
1 1 |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
1 x |
x |
0 |
x |
1 |
x |
x |
1 |
1 |
x |
1 z |
x |
0 |
x |
1 |
x |
x |
1 |
1 |
x |
x 0 |
x |
0 |
x |
1 |
0 |
0 |
x |
x |
x |
x 1 |
x |
0 |
x |
1 |
x |
x |
1 |
1 |
x |
x x |
x |
1 |
x |
0 |
x |
x |
x |
x |
x |
x z |
x |
0 |
x |
1 |
x |
x |
x |
x |
x |
z 0 |
x |
0 |
x |
1 |
0 |
0 |
x |
x |
x |
z 1 |
x |
0 |
x |
1 |
x |
x |
1 |
1 |
x |
z x |
x |
0 |
x |
1 |
x |
x |
x |
x |
x |
z z |
x |
1 |
x |
0 |
x |
x |
x |
x |
x |