Sign in Join
Wiki copytemporary

Binary numeral system/fr: what changed

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

OldNewLine
1-La représentation binaire d'un nombre n'utilise que les chiffres 0 et 1. Le système en base 2 est la base des systèmes numériques. Le plus petit élément binaire est appelé un bit (contraction de l'anglais BInary digiT).
1+La représentation binaire d'un nombre n'utilise que les chiffres 0 et 1. Le système en base 2 est la base des systèmes numériques. Le plus petit élément binaire est appelé un bit (contraction de l'anglais BInary digiT).
22
3-Dans un source Free Pascal, un littéral binaire est spécifié en le faisant précéder par [[Percent sign/fr|signe pourcent (%)]].
3+Dans un source Free Pascal, un littéral binaire est spécifié en le faisant précéder par [[Percent sign/fr|signe pourcent (%)]].
44
55## Table de conversion
66
7-| Binary | [[Héxadecimal]] | Décimal |
8-|----|----|----|
9-|   %0000000000000000   |   [[Dollar sign|$]]0000   |   0   |
10-|   %0000000000000001   |   \$0001   |   1   |
11-|   %0000000000000010   |   \$0002   |   2   |
12-|   %0000000000000011   |   \$0003   |   3   |
13-|   %0000000000000100   |   \$0004   |   4   |
14-|   %0000000000000101   |   \$0005   |   5   |
15-|   %0000000000000110   |   \$0006   |   6   |
16-|   %0000000000000111   |   \$0007   |   7   |
17-|   %0000000000001000   |   \$0008   |   8   |
18-|   %0000000000001001   |   \$0009   |   9   |
19-|   %0000000000001010   |   \$000a   |   10   |
20-|   %0000000000001011   |   \$000b   |   11   |
21-|   %0000000000001100   |   \$000c   |   12   |
22-|   %0000000000001101   |   \$000d   |   13   |
23-|   %0000000000001110   |   \$000e   |   14   |
24-|   %0000000000001111   |   \$000f   |   15   |
25-|   %0000000000010000   |   \$0010   |   16   |
26-|   %0000000000010001   |   \$0011   |   17   |
27-|   %0000000000010010   |   \$0012   |   18   |
28-|   %0000000000010011   |   \$0013   |   19   |
29-|   %0000000000010100   |   \$0014   |   20   |
30-|   ...   |   ...   |   ...   |
31-|   %0000000010011111   |   \$009f   |   159   |
32-|   %0000000010100000   |   \$00a0   |   160   |
33-|   ...   |   ...   |   ...   |
34-|   %0000000011111111   |   \$00ff   |   255   |
35-|   %0000000100000000   |   \$0100   |   256   |
36-|   %0000000100000001   |   \$0101   |   257   |
37-| | | |
38-
7+Binary | [Héxadecimal](</index.php?title=H%C3%A9xadecimal&action=edit&redlink=1> "Héxadecimal \(page does not exist\)") | Décimal
8+---|---|---
9+%0000000000000000 | [[Dollar sign|$]]0000 | 0
10+%0000000000000001 | $0001 | 1
11+%0000000000000010 | $0002 | 2
12+%0000000000000011 | $0003 | 3
13+%0000000000000100 | $0004 | 4
14+%0000000000000101 | $0005 | 5
15+%0000000000000110 | $0006 | 6
16+%0000000000000111 | $0007 | 7
17+%0000000000001000 | $0008 | 8
18+%0000000000001001 | $0009 | 9
19+%0000000000001010 | $000a | 10
20+%0000000000001011 | $000b | 11
21+%0000000000001100 | $000c | 12
22+%0000000000001101 | $000d | 13
23+%0000000000001110 | $000e | 14
24+%0000000000001111 | $000f | 15
25+%0000000000010000 | $0010 | 16
26+%0000000000010001 | $0011 | 17
27+%0000000000010010 | $0012 | 18
28+%0000000000010011 | $0013 | 19
29+%0000000000010100 | $0014 | 20
30+... | ... | ...
31+%0000000010011111 | $009f | 159
32+%0000000010100000 | $00a0 | 160
33+... | ... | ...
34+%0000000011111111 | $00ff | 255
35+%0000000100000000 | $0100 | 256
36+%0000000100000001 | $0101 | 257
37+
3938## Voir aussi
4039
41-- [[doc:rtl/strutils/inttobin.html|IntToBin]] - convertit un [[Integer/fr|integer]] en sa représentation binaire en [[String|string]].
42-- [[Base converting/fr|Fonction de conversion multi-base]]
43-
44-\
40+ * [IntToBin](<http://lazarus-ccr.sourceforge.net/docs/rtl/strutils/inttobin.html> "doc:rtl/strutils/inttobin.html") \- convertit un [[Integer/fr|integer]] en sa représentation binaire en [[String|string]].
41+ * [[Base converting/fr|Fonction de conversion multi-base]]
4542
4643---
47-*From the Free Pascal wiki, page "Binary numeral system/fr", as it stood on 2016-11-25 after a change by E-ric, 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).*
44+*From the Free Pascal wiki, page "Binary numeral system/fr", as the Internet Archive kept it on 2025-01-14. 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