$xor » History » Version 1
Per Amundsen, 08/11/2015 06:21 AM
1 | 1 | Per Amundsen | $xor(A,B) |
---|---|---|---|
2 | |||
3 | Returns A binary "xor":https://en.wikipedia.org/wiki/Exclusive_or B. |
||
4 | |||
5 | *Parameters* |
||
6 | |||
7 | A - The binary value to "xor":https://en.wikipedia.org/wiki/Exclusive_or. |
||
8 | B - The binary value to "xor":https://en.wikipedia.org/wiki/Exclusive_or to. |
||
9 | |||
10 | *Example* |
||
11 | |||
12 | <pre> |
||
13 | ; xor 1110 into 1001. |
||
14 | //echo -ag $xor(1110,1001) |
||
15 | </pre> |