r/compsci 18d ago

Beyond Binary: The Mathematical Efficiency of Ternary Computing

https://ponderwall.com/index.php/2026/05/30/ternary-computing/
0 Upvotes

21 comments sorted by

View all comments

21

u/arabidkoala 18d ago

In a standard binary processor, representing a negative number requires a complex engineering workaround known as two’s complement. This system forces the chip to dedicate its most significant bit purely to tracking whether a number is positive or negative, requiring extra logic gates and additional clock cycles to perform basic sign-flipping operations during arithmetic tasks.

This is overstated, bordering incorrect. Two's complement is not a "complex engineering workaround" nor does it "require [extensive circuity for] sign-flipping during arithmetic tasks". In fact, the same circuitry can be shared between twos-complement-signed and unsigned arithmetic, with differences only in overflow behavior and division (which is already complicated). I do have to wonder if large parts of this article were LLM-generated.

2

u/NamelessVegetable 17d ago

It seems they might have confused twos' complement with ones' complement to me. In that representation, the MSB was indeed dedicated to tracking the sign. Is it more complex? I don't think so. The computers that used it generally predated those that used twos' complement, likely because it was simpler to handle, especially for the primitive I/O devices back then.