Ternary vs Binary: Difference between revisions

From T729 Balanced Ternary Computer
Jump to navigationJump to search
No edit summary
No edit summary
Line 36: Line 36:




<table style="table-layout: fixed; width: 100%;">
<table style="table-layout: fixed; width: 100%; font-size: 0.7cm;">
<tr>
<tr>
<th colspan="3">Power of 3</th>
<th colspan="3">Power of 3</th>

Revision as of 18:55, 5 February 2025

Binary is flat out the better easier cheaper option for computing due to the very nature of how transistors work and current fabrication technology. However it does not mean we can't still explore ternary computer design.

Maybe in the future someone will discover a semiconductor or material/atomic science electrical switch that supports three states as intrinsically as transistors and binary.

Balanced ternary is almost 'pretty'. It handles negatives naturally without numbers compliment. Unsigned ternary requires messy 3s compliment addition to handle negative numbers and subtraction. Just like 2s compliments with binary. Unsigned ternary may have faster adder logic than balanced but the added complexity of 3s compliment does not seem like a good tradeoff.


Balanced Ternary Binary Unsigned Ternary
Negative, Zero, Positive Zero One Zero, One, Two
- 0 + 0 1 0 1 2
Natural Negatives Two's Complement Three's Complement


Power of 3 Power of 2
30 1 ? 1 20
31 3 ±1 2 21
32 9 ±4 4 22
33 27 ±13 8 23
34 81 ±40 16 24
35 243 ±121 32 25
36 729 ±364 64 26
37 2187 ±1093 128 27
38 6561 ±3280 256 28