Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the commonly used base

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

What is the common base? This problem may be our daily study or work often see. I hope you learned something from this question. The following is the reference content brought to you by Xiaobian. Let's take a look together!

What are the commonly used bases?

1, binary

Binary system as a widely used number system in computing technology, two numbers can represent all numbers, binary data is 0 and 1 two numbers to represent the number. Its radix is 2, the carry rule is "every two into one," the borrow rule is "borrow one when two," discovered by Leibniz, a German mathematical philosopher in the 18th century.

Current computer systems use essentially binary systems, where data is stored primarily in complement form. Binary in computers is a tiny switch, with "on" for 1 and "off" for 0.

2, ternary

The ternary system with base 3 as the base number. The ternary number has three digits: 0, 1, and 2. Every ternary digit enters one. In the early days of computer development, a biased ternary system (symmetric ternary system) was adopted, with-1, 0, and 1 digits, and this ternary system entered 1 every +/-2.

3, quaternary

A radix-4 carry system in which the four digits 0, 1, 2, and 3 represent any real number. Quaternary shares many properties with all fixed-radix numbering systems, such as the ability to represent any real number in standard form and the property of representing rational and irrational numbers.

4, octal

Octal, abbreviated OCT or O, a counting method based on 8, using 0, 1, 2, 3, 4, 5, 6, 7 as the eight digits, and every octet enters 1. Some programming languages often start with the number 0 to indicate that the number is octal. Octal numbers and binary numbers can correspond bitwise (one octal digit corresponds to three binary digits), so they are often used in computer languages.

Thank you for reading! After reading the above, do you know what the common base is? I hope the content of this article is helpful to everyone. If you want to know more about related articles, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report