Sign in Join
Wiki copytemporary

Binary numeral system/pt: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Binary numeral system/pt

OldNewLine
1+Um sistema numérico binário possui dois algarismos, geralmente 0 e 1. Esse sistema de base 2 é a base para os sistemas digitais.
2+
3+Um número binário é composto por dígitos binários que são também conhecidos por bits (*bit*, termo inglês, acrônimo de *binary digit* = dígito binário).
4+
5+Número binários podem ser especificados com a anteposição de um [[Percent sign/pt|sinal de porcentagem (%)]].
6+
7+## Tabela de conversão
8+
9+| Binário | [[Hexadecimal/pt|Hexadecimal]] | Decimal |
10+|----|----|----|
11+|   %0000000000000000   |   [[Dollar sign|$]]0000   |   0   |
12+|   %0000000000000001   |   \$0001   |   1   |
13+|   %0000000000000010   |   \$0002   |   2   |
14+|   %0000000000000011   |   \$0003   |   3   |
15+|   %0000000000000100   |   \$0004   |   4   |
16+|   %0000000000000101   |   \$0005   |   5   |
17+|   %0000000000000110   |   \$0006   |   6   |
18+|   %0000000000000111   |   \$0007   |   7   |
19+|   %0000000000001000   |   \$0008   |   8   |
20+|   %0000000000001001   |   \$0009   |   9   |
21+|   %0000000000001010   |   \$000a   |   10   |
22+|   %0000000000001011   |   \$000b   |   11   |
23+|   %0000000000001100   |   \$000c   |   12   |
24+|   %0000000000001101   |   \$000d   |   13   |
25+|   %0000000000001110   |   \$000e   |   14   |
26+|   %0000000000001111   |   \$000f   |   15   |
27+|   %0000000000010000   |   \$0010   |   16   |
28+|   %0000000000010001   |   \$0011   |   17   |
29+|   %0000000000010010   |   \$0012   |   18   |
30+|   %0000000000010011   |   \$0013   |   19   |
31+|   %0000000000010100   |   \$0014   |   20   |
32+|   ...   |   ...   |   ...   |
33+|   %0000000010011111   |   \$009f   |   159   |
34+|   %0000000010100000   |   \$00a0   |   160   |
35+|   ...   |   ...   |   ...   |
36+|   %0000000011111111   |   \$00ff   |   255   |
37+|   %0000000100000000   |   \$0100   |   256   |
38+|   %0000000100000001   |   \$0101   |   257   |
39+| | | |
40+
41+## Ver também
42+
43+- [[doc:rtl/strutils/inttobin.html|IntToBin]]
44+- [[doc:rtl/system/binstr.html|binStr]]
45+- [[Base converting/pt|Conversão para uma base qualquer]]
46+- *[[Procedure/pt|Procedure]]* (procedimento)
47+
48+---
49+*From the Free Pascal wiki, page "Binary numeral system/pt", as it stood on 2019-09-26 after a change by Leonardocoelho, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history