Binary numeral system/fi: what changed
Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 1 | + | ```text | |
| 2 | 2 | category:Suomi | |
| 3 | 3 | ``` | |
| 4 | 4 | ||
| 5 | 5 | Binäärinumerot koostovat vain kahdesta numerosta: 0 ja 1. Tähän kaksikantajärjestelmään digitaaliset laitteet perustuvat. Pienintä binääriyksikköä kutsutaan bitiksi (bitti). | |
| 6 | 6 | ||
| 7 | 7 | Binäärinumerot merkitään lähdekoodissa käyttäen [[Percent sign|prosentti (%)]] etuliitettä (näin se erottuu desimaaliluvuista). | |
| 8 | 8 | ||
| 9 | 9 | ## Muunnostaulukko | |
| 10 | 10 | ||
| 11 | 11 | | Binääri | [[Hexadecimal/fi|heksadesimaali]] | Desimaali | | |
| 12 | 12 | |----|----|----| | |
| 13 | 13 | | %0000000000000000 | [[Dollar sign|$]]0000 | 0 | | |
| 14 | 14 | | %0000000000000001 | \$0001 | 1 | | |
| 15 | 15 | | %0000000000000010 | \$0002 | 2 | | |
| 16 | 16 | | %0000000000000011 | \$0003 | 3 | | |
| 17 | 17 | | %0000000000000100 | \$0004 | 4 | | |
| 18 | 18 | | %0000000000000101 | \$0005 | 5 | | |
| 19 | 19 | | %0000000000000110 | \$0006 | 6 | | |
| 20 | 20 | | %0000000000000111 | \$0007 | 7 | | |
| 21 | 21 | | %0000000000001000 | \$0008 | 8 | | |
| 22 | 22 | | %0000000000001001 | \$0009 | 9 | | |
| 23 | 23 | | %0000000000001010 | \$000a | 10 | | |
| 24 | 24 | | %0000000000001011 | \$000b | 11 | | |
| 25 | 25 | | %0000000000001100 | \$000c | 12 | | |
| 26 | 26 | | %0000000000001101 | \$000d | 13 | | |
| 27 | 27 | | %0000000000001110 | \$000e | 14 | | |
| 28 | 28 | | %0000000000001111 | \$000f | 15 | | |
| 29 | 29 | | %0000000000010000 | \$0010 | 16 | | |
| 30 | 30 | | %0000000000010001 | \$0011 | 17 | | |
| 31 | 31 | | %0000000000010010 | \$0012 | 18 | | |
| 32 | 32 | | %0000000000010011 | \$0013 | 19 | | |
| 33 | 33 | | %0000000000010100 | \$0014 | 20 | | |
| 34 | 34 | | ... | ... | ... | | |
| 35 | 35 | | %0000000010011111 | \$009f | 159 | | |
| 36 | 36 | | %0000000010100000 | \$00a0 | 160 | | |
| 37 | 37 | | ... | ... | ... | | |
| 38 | 38 | | %0000000011111111 | \$00ff | 255 | | |
| 39 | 39 | | %0000000100000000 | \$0100 | 256 | | |
| 40 | 40 | | %0000000100000001 | \$0101 | 257 | | |
| 41 | 41 | | | | | | |
| 42 | 42 | ||
| 43 | 43 | ## Katso myös | |
| 44 | 44 | ||
| 45 | 45 | - [[doc:rtl/strutils/inttobin.html|IntToBin]] - Muuntaa [[Integer/fi|kokonaisluvun]] binääriseksi [[String|merkkijono]] esitykseksi. | |
| 46 | 46 | - [[doc:rtl/system/binstr.html|binStr]] - Muuntaa kokonaisluvun binääriseksi merkkijono esitykseksi. | |
| 47 | 47 | - [[Base converting|Convert to any base]] | |
| 48 | 48 | - [[Procedure]] | |
| 49 | 49 | ||
| 50 | 50 | --- | |
| 51 | 51 | *From the Free Pascal wiki, page "Binary numeral system/fi", as it stood on 2018-02-03 after a change by Djzepi, 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).* |
