How does addition work in Computers?

眉间皱痕 提交于 2019-12-01 18:14:52

At the "very bottom" numbers are just binary, and physical electronic hardware is used to perform the addition operation itself1 (where each bit in the number is represented by an on/off of the physical circuit line) - this is done by some variation of an an Adder circuit.

For "how" the math works see Two's complement: Aritmetic, which is the most commonly used integer encoding. Conceptually such arithmetic is similar to that of other bases, such as base-10/decimal taught in school.


1 Modern/conventional computers: there have been mechanical computers (at least insofar as 'calculating machines'), analog computers, and takes on quantum computers, etc.

there are different adders and sub tractors which are which are connected thro' circuit. .full adder ,half adder is for different no range. all these adders are arranged such as in the form of o' and 1' for each digit there is binary bit code . its too easy .u will get it if u read it once

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!