Ø @AND(...) -
if any arguments are 0; 1 if all arguments are 1; otherwise -1.
Ø @NAND(...) -
if all arguments are 1; 1 if any arguments are 0; otherwise -1.
Ø @NOR(...) -
if any arguments are 1; 1 if all arguments are 0; otherwise -1.
Ø @NOT(X) -
if X=1; 1 if X=0; otherwise -1.
Ø @OR(...) -
if all arguments are 0; 1 if any arguments are 1; otherwise -1.
Ø @XOR(...) -
-1 if any of the arguments are not 0 or 1; otherwise 0 if the total number of arguments with the value
1 is even; 1 if the total number of arguments with the value 1 is odd.