It is a numbering system for commutative bivalent ternary operations. You simply set up a truth table in the following order
Code: Select all
F F X5
F U X4 (= U F)
U U X3
U T X2 (= T U)
T T X1
T F X0 (= F T)
N = 243*X5 + 81 * X4 + 27 * X3 + 9*X2 + 3*X1 + X0
So, AND would be given N = -322, XOR would be given N = 241, etc.