Ternary vs Binary: Difference between revisions

From T729 Balanced Ternary Computer
Jump to navigationJump to search
No edit summary
No edit summary
Line 80: Line 80:
<td>2</td>
<td>2</td>
<td>2<sup>1</sup></td>
<td>2<sup>1</sup></td>
</tr>
<tr>
<td>4</td>
<td>2<sup>2</sup></td>
</tr>
<tr>
<td>8</td>
<td>2<sup>3</sup></td>
</tr>
<tr>
<td>16</td>
<td>2<sup>4</sup></td>
</tr>
<tr>
<td>32</td>
<td>2<sup>5</sup></td>
</tr>
<tr>
<td>64</td>
<td>2<sup>6</sup></td>
</tr>
<tr>
<td>128</td>
<td>2<sup>7</sup></td>
</tr>
<tr>
<td>256</td>
<td>2<sup>8</sup></td>
</tr>
</tr>
</table>
</table>

Revision as of 18:35, 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
30 1
31 3
32 9
33 27
34 81
35 243
Power of 2
1 20
2 21
4 22
8 23
16 24
32 25
64 26
128 27
256 28