Third Base – Ternary Notation (2001)
web.williams.edu
web.williams.edu
e.g.
1 x 3^3 - 1 x 3^2 + 0 x 3^1 + 1 x 3^0,
Imagine, trits instead of bits. I like the idea of base e, if unrealistic.
(BTW: I have an old answer on Math.stackexchange that cheats by using base 3: http://math.stackexchange.com/a/734723/108109 )
I like the -1, 0 and 1 concept, but is there any way to pull it off from an electrical engineering concept? Or would it all have to be overlayed as software?
http://hummusandmagnets.tumblr.com/post/48829755849/how-to-u...
{a,b,c} => {0,1,2}-> A | {-1,0,1}-> B
b * c * c = 1 * 2 * 2 (A) != 0 * 1 * 1 (B)
Sorry not very knowledgeable on this stuff so it took a long detour.
If you can design a tristable "flip-flop-flap" circuit with just three transistors, you might be in business!
http://spectrum.ieee.org/semiconductors/memory/sixstate-memr...
On any practical architecture a word has some fixed length, N, and the vastly most efficient case will be when your number fits within that space. That is, it is more efficient if the number can be represented in r^N bits of state. The amount of state an architecture gives you is dictated by many different considerations but the radix that offers you most control (that is, most different possible values for r^N) is 2. For instance, say you want a word length that can store numbers up to 500, you have the options of
2^N: 2, 4, 8, 16, 32, 64, 128, 256
3^N: 3, 9, 27, 81, 243
So 2 gives you 8 choices for N whereas 3 gives you 5. So 2 gives you more design space to choose the most efficient representation in practice.
But you are right: what counts is how much information you can store or process per square inch / per Watt, not really how many components you need to achieve this.
In practice people never got a ternary cell that cost only 3/2 of the best binary cells (in both space, power and money). That's why research dried up. But there's no reason to think this is fundamental.
Given a simple balance scale with pans on both sides, how many weights does a merchant need to be able to weigh any whole number of grams from 1 to 40?
Most people have trouble getting the right answer, but its easy with balanced ternary. Try it!
http://bit-player.org/bph-publications/AmSci-2001-11-Hayes-t...
I know a little about CMOS transistor and logic design, but I'm certainly no expert. Still, I'm not seeing the advantages of ternary numbers. I'd be interested in hearing otherwise.
At today's geometries we have a hard enough time keeping binary gates and memory cells working reliably. Ternary just doesn't seem to be practical. Perhaps with another supply voltage? E.g. +1.5, 0, -1.5? But today's CPUs very very aggressively vary supply voltage in order to conserve power. Now they'd have to fiddle with two voltages? Bah!
http://en.wikipedia.org/wiki/Quadrature_amplitude_modulation...
I of course understand the advantages of non-binary encodings in the many applications people mentioned, e.g. hard disks, flash memory, etc. Another common use is digital cable, which generally uses 256-QAM.
But let's look at the article itself, which was discussing ternary for general purpose CPU design. Here's a snippet:
the first working ternary computer was ...
designed by Nikolai P. Brusentsov and his
colleagues at Moscow State University ...
Some 50 machines were built between 1958
and 1965. [It] operated on numbers composed
of 18 ternary digits, or trits ...
I stand by what I first said. The above computers were probably wonderful academic toys, but otherwise were "a cure for no known disease".Neither Intel nor anyone else will build a CPU with registers that store ternary numbers. Nor will they build cache memory that stores ternary numbers. Nor will there be any new ARM architecture forthcoming that switches from binary to ternary. Etc.