The digital system is a digital system with different symbols, in particular into the position location system and non-system
- System location
symbol determines the position occupied by the value of its representation in the system is represented by:
- Decimal System
decimal b is 10, and the character set used to represent 0-9.
- Integer: use position of a rear below
-
REAL: below the binary
- Integer: use position of a rear below
-
Binary system
binary 0 and b is only 12 characters, in a computer program and data by 0's and 1's (the book using a bit string, i.e. string of bits), because it is the most basic computer hardware the principle is electronic switches, different representatives of different switching state.- Integer
We can be expressed as b is an integer of 2 bit string - Real numbers
can be divided into two parts real, integer part and a fractional part
Note that the decimal expression of the latter method in fact, the number is represented in binary position, is a specific value, by definition, a representative of the fractional power is -1 if 1 is 2 * 1, that is 0.5, when decimal behind to pay attention to this point.
- Integer
- Hex
Binary Although it is used for an external display on the computer's internal storage data, due to the length and decimal conversion limitations and inconvenience, so with hexadecimal and octal.
In hexadecimal, b is 16, a character set from 0 to 9, A to F
- Integer
And the other is basically the same band
-
Real
integer part and above, the fractional part of the position of the system according to the equation if the number is negative primary side 1 * 16, is converted to a decimal 0.0625.
- Integer
-
Octal
b 8, character set 0-7-
Integer
-
Real numbers
and hexadecimal similar
-
- to sum up
- Decimal System
-
Conversion between the various binary
Either binary transformations that follow the formula in the system.
Other binary conversion to decimalBinary Coded Decimal && && decimal from hexadecimal convert hexadecimal to octal
Decimal to binary conversion between other
first determine the uml diagram is just beginning is difficult to understand, but the actual step is to continue with other books in decimal hexadecimal b, the remainder is the goal, that is, under the figure of destination, if there is In addition to business again, until divisible.
Specific examples of the three books
on the decimal part, may be used in the multiplication (repetitive multiplication), the decimal fraction portion multiplied by the respective binary constant, b, the integer part of the result is the goal, the integer part if not, it is 0 , followed by the next b.Binary Hex
earlier mentioned precisely because the binary display, so the invention hexadecimal and octal, binary because the four happens to be in a hexadecimalBinary octal
Non-location systems
Roman numerals: straight here posted about representation, interested can directly buy books.