BlzBitXor
- Parameters
-
x integer
y integer
- comment
Returns the result of connecting all bits of both numbers using XOR (Difference) (in regards of binary numeral system). Each Bit being different between x and y becomes 1; every bit being equal becomes 0.
2 xor 5 => 7 (0010 xor 0101 => 0111) 6 xor 8 => 14 (0110 xor 1000 => 1110)
- patch
1.31
- pure
- This function is pure. For the same values passed to it, it will always return the same value.
- return type
integer
- Source code
native BlzBitXor takes integer x, integer y returns integer
- Source
- common.j
- wc3modding.com
- BlzBitXor