News for hackers. Stuff that matters.
Re:Building a ternary computer at home: a software emulator by pfortuny on Monday April 13, 2020 @07:58AM (#22855025)
Of course the "optimal one" would be base "e" but nobody is going to be able to do anything remotely reasonable with it... (pg. 491 of that manuscript).
Re:Building a ternary computer at home: a software emulator by ansible on Monday April 13, 2020 @08:53AM (#22855399)
Well, you could... if you want to give up discrete integer representation...

Anyway, if ternary is actually optional in practice depends as much on how efficient the ternary logic can be implemented on a silicon process. If you increase integer storage efficiency by 10%, but circuit density decreases, maybe you're not getting enough value.

Re:Building a ternary computer at home: a software emulator by hinkley on Monday April 13, 2020 @01:21PM (#22857784)
base 7 is very nearly e^2, and 20 is almost exactly e^3. Base 20 would fix many problems with floating point math, wouldn't it?

By the time someone built a base 20 computer it would probably be an anachronism anyway.

Re:Building a ternary computer at home: a software emulator by SilasX on Monday April 13, 2020 @03:38PM (#22859233)
Okay but what's the significance of (non-unity) powers of e? e is the optimum of a specific function[1], and you lose the benefits for higher values.

It's true that you can conveniently represent the numbers by using integer powers of the base (like representing binary with hexadecimal), but the whole reason e is a "good" base in the first place is because you're (partially) minimizing the number of distinct symbols needed to represent a number, and you lose that once you go to a higher base.

Plus, using a slightly-off integer like 7 breaks the integer-power-mapping anyway.

[1] x ^ (N/x) for any N.