XOR ( n1 n2 -- n3 )
published: 9 January 2022 / updated 16 February 2022
vocabulary: forth
Execute logic eXclusif OR.
The words AND, OR, and XOR perform operations binary bitwise logic on single-precision integers at the top of the data stack.
Example:
0 -1 xor . \ display 0 0 -1 xor . \ display -1 -1 0 xor . \ display -1 -1 0 xor . \ display 0
Legal: site web personnel sans commerce / personal site without seling
