Trits: minus one, zero, one

You will learn

How a trit is written as a small signed constant and why 27 shows up everywhere.

A bit has two values; a trit has three: minus one, zero and one. The lesson spec writes them as i8 constants NEG, ZERO and POS, the way the tutorial specs of t27 do. Adding POS and NEG gives ZERO. Three trits have 3 times 3 times 3 combinations, which is 27: the number of lessons in this course and the cells of a TRI-27 word.

Open the interactive lesson →