r/computerscience • • Nov 05 '24

Why binary?

Why not ternary, quaternary, etc up to hexadecimal? Is it just because when changing a digit you don't need to specify what digit to change to since there are only two?

16 Upvotes

98 comments sorted by

View all comments

Show parent comment

21

u/[deleted] Nov 05 '24

Ternary has a better radix economy (e technically is the most efficient base under that metric, but a transcendental base is hard to wrap your head around), but I don't know if that necessarily translates to more efficiency in circuitry because binary logic gates are very simple to make.