Home> Common Problem> body text

How to understand the hexadecimal system in a simple way

藏色散人
Release: 2020-05-07 15:30:23
Original
7817 people have browsed it

How to understand the hexadecimal system in a simple way

How to understand the base system in a popular way?

The base system is also the carry counting system, which is an artificially defined band Carry counting method (there are counting methods without carry, such as the original knot counting method, the "positive" counting method commonly used when counting votes, and similar tally mark counting). For any base system - the X base system, it means that the number operation at each position is carried out by one digit every time X is reached. The decimal system carries one after every tenth, the hexadecimal system carries forward one after every sixteenth, the binary system carries forward every two, and so on, the x-based system carries forward every x.

The carry/position counting method is a counting method, so it is also called the carry notation/place value counting method. It can use limited digital symbols to represent all values. The number of numeric symbols that can be used is called the base (en: radix) or base. The base is n, which is called n-ary system, or n-ary system for short. The most commonly used system now is the decimal system, which usually uses 10 Arabic numerals 0-9 for counting.

For any number, we can use different carry systems to represent it. For example: the decimal number 57 (10) can be expressed in binary as 111001 (2), or in quinary as 212 (5), or in octal as 71 (8), or in hexadecimal. is 39(16), and the values they represent are the same.

The above is the detailed content of How to understand the hexadecimal system in a simple way. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!