Home >Common Problem >What calculations are used inside a computer
The computer uses binary calculations internally. Binary in mathematics and digital circuits refers to a base-2 notation system that is usually represented by two different symbols, 0 and 1. Binaries are used in modern computers and computer-dependent devices.
#Environment of this article: windows10, Dell G3.
The computer uses binary calculations internally.
Binary (binary) refers to a numbering system based on 2 as the base in mathematics and digital circuits. Using 2 as the base means that the system is binary. In this system, it is usually represented by two different symbols: 0 (representing zero) and 1 (representing one). In digital electronic circuits, the implementation of logic gates directly uses binary, so modern computers and computer-dependent devices all use binary. Each number is called a bit (Bit, short for Binary digit).
Binary calculation:
Addition
There are four cases of binary addition: 0 0=0, 0 1=1, 1 0=1, 1 1= 10 (0 carries to 1).
Multiplication
There are four cases of binary multiplication: 0×0=0, 1×0=0, 0×1=0, 1×1=1.
Subtraction
There are four situations in binary subtraction: 0-0=0, 1-0=1, 1-1=0, 0-1=1.
Division
There are two cases of binary division (the divisor can only be 1): 0÷1=0, 1÷1=1.
Computer operating system tutorial:windows
The above is the detailed content of What calculations are used inside a computer. For more information, please follow other related articles on the PHP Chinese website!