为什么选择二进制而不是三元计算? [英] Why binary and not ternary computing?

查看:143
本文介绍了为什么选择二进制而不是三元计算?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

三态对象不是可以立即容纳更多信息并处理更大的值吗?我知道处理器当前使用大量的XOR门网络,这将需要重新设计.

Isn't a three state object immedately capable of holding more information and handling larger values? I know that processors currently use massive nets of XOR gates and that would need to be reworked.

由于我们处于64位(我们可以表示2 ^ 63个可能的状态),因此计算等效的三元类世代可以用十位数log(3 ^ 63-2 ^ 63)来支持数字.

Since we are at 64 bit (we can represent 2^63 possible states) computing the equivalent ternary generation could support number with 30 more tens places log(3^63-2^63).

我认为检测+1和0之间的电位差和-1和0之间的电位差一样容易.

I imagine it is as easy to detect the potential difference between +1 and 0 as it is between -1 and 0.

硬件的某些兼容性,功耗或芯片密度是否会抵消存储和计算能力的提高?

Would some compexity of the hardware, power consumption, or chip density offset any gains in storage and computing power?

推荐答案

  • 构建使用两个以上状态/级别/任何状态的组件要困难得多.例如,逻辑中使用的晶体管要么处于闭合状态,根本不导通,要么处于全开状态.将它们打开一半将需要更高的精度并使用额外的功率.不过,有时会使用更多状态来打包更多数据,但很少使用(例如现代NAND闪存,调制解调器中的调制).

    • It is much harder to build components that use more than two states/levels/whatever. For example, the transistors used in logic are either closed and don't conduct at all, or wide open. Having them half open would require much more precision and use extra power. Nevertheless, sometimes more states are used for packing more data, but rarely (e.g. modern NAND flash memory, modulation in modems).

      如果使用两个以上的状态,则需要与二进制兼容,因为世界其他地方都在使用它.之所以不存在三点,是因为转换为二进制将需要昂贵的乘法或除法运算.取而代之的是,您直接获得4或更高的2的幂.

      If you use more than two states you need to be compatible to binary, because the rest of the world uses it. Three is out because the conversion to binary would require expensive multiplication or division with remainder. Instead you go directly to four or a higher power of two.

      这是为什么不执行该操作的实际原因,但是从数学上讲,完全有可能在三元逻辑上构建计算机.

      These are practical reasons why it is not done, but mathematically it is perfectly possible to build a computer on ternary logic.

      这篇关于为什么选择二进制而不是三元计算?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆