

However, they are still far less compact than the corresponding representations in bases such as decimal – see below for a compact way to codify ternary using nonary (base 9) and septemvigesimal (base 27). For example, decimal 365 or senary 1405 corresponds to binary 101101101 (nine digits) and to ternary 111112 (six digits). Representations of integer numbers in ternary do not get uncomfortably lengthy as quickly as in binary.


One trit is equivalent to log 2 3 (about 1.58496) bits of information.Īlthough ternary most often refers to a system in which the three digits are all non–negative numbers specifically 0, 1, and 2, the adjective also lends its name to the balanced ternary system comprising the digits −1, 0 and +1, used in comparison logic and ternary computers.Ĭomparison to other bases A ternary multiplication table × Analogous to a bit, a ternary digit is a trit ( trinary dig it). A ternary / ˈ t ɜːr n ər i/ numeral system (also called base 3 or trinary) has three as its base.
