Sum and carry

You will learn

How the addition of two trits splits into a sum table and a carry table.

Two trits add to something from -2 to +2. Written in balanced ternary that is a sum trit plus three times a carry trit: +1 + +1 = 2 = 3 - 1, carry +1, sum -1. The widget shows both as gates. Counting tables, a two-input ternary gate has 3^9 = 19683 possibilities against 16 in binary. The lesson spec builds XOR from ternary neurons, the hardware side of the same idea.

Open the interactive lesson →