Bitwise Exclusive OR Truth Table
|
|
First Value |
Second Value |
Result |
true |
true |
false |
true |
false |
true |
false |
true |
true |
false |
false |
false |
|
var iResult = 25 | 3; alert(iResult); //outputs "27"
25 = 0000 0000 0000 0000 0000 0000 0001 1001 3 = 0000 0000 0000 0000 0000 0000 0000 0011 -------------------------------------------- OR = 0000 0000 0000 0000 0000 0000 0001 1011
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|