有谁知道在进行算术运算时二进制系统如何优于十进制?这是一个测试中的问题,我似乎无法在任何地方找到一个好的答案......
具体来说:
在以下主题下解释使用二进制而不是十进制的好处 -
整数加法
整数乘法
整数除法
浮点存储
任何帮助将不胜感激。
有谁知道在进行算术运算时二进制系统如何优于十进制?这是一个测试中的问题,我似乎无法在任何地方找到一个好的答案......
具体来说:
在以下主题下解释使用二进制而不是十进制的好处 -
整数加法
整数乘法
整数除法
浮点存储
任何帮助将不胜感激。
Actually, it's not necessary for human to use binary system. With the topic, I think your question is more like why computers use it?
Modern computers are based on the electronic circuits. We use a simple 2-state gate to represent information. The basic element in circuits is transistor, which shows high and low voltage, representing 1 and 0 respectively. For a complex circuit, a given input can produce some outputs. If we see that from a high level, it shows the operation of 0's and 1's.
The circuits can also be used for storage, which consists of 0's and 1's, because of the 2-state.
Computer uses the binary system both for storage and operation. If we change it to a decimal system, we have to find a component which has ten state, representing 10 numbers. Besides, we also have to design operation between these basic numbers.
Until now, electronic circuits make it perfect with binary system.