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