Home>Article> What does adding a B after binary mean?

What does adding a B after binary mean?

尚
Original
2020-03-06 11:49:18 43455browse

What does adding a B after binary mean?

followed by a B indicates that this is a binary number.

Binary (B) Octal (O) Hex (H)

The hexadecimal system is a number system widely used in computing technology. Binary data is a number represented by two digits, 0 and 1. Its base is 2, the carry rule is "every two is forwarded to one", and the borrowing rule is "borrow one to be equal to two", which was discovered by Leibniz, the German master of mathematical philosophy in the 18th century.

The current computer system basically uses a binary system, and data is mainly stored in the computer in the form of two's complement code. The binary system in the computer is a very tiny switch, with "on" representing 1 and "off" representing 0.

The above is the detailed content of What does adding a B after binary mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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