Šestnajstiški številski sistem: Razlika med redakcijama

Izbrisana vsebina Dodana vsebina
Slady (pogovor | prispevki)
m Redakcija 988252 uporabnika 89.247.238.227 (pogovor) razveljavljena
Redakcija 992381 uporabnika Slady (pogovor) razveljavljena
Vrstica 3:
== Predstavitve ==
 
<div{| border="0" cellspacing="0" cellpadding="0" style="text-align: center; floatborder:2px" align=right; margin: 0em 0em 1em 1em;">
|- style="background:black; height:2px"
{| Border="1" cellpadding="3" cellspacing="0"
| style="background:black; width:2px" | || || || || || || || || || || ||
! Šestnajstiško!! Dvojiško !! Desetiško
|-style="background:#FDC888; color:black; height:24px"
|-
| style="background:black; width:2px" | || style="width:45px"|'''0'''<sub>hex</sub> || = || style="width:45px"|0<sub>dec</sub> || = || style="width:45px"|0<sub>oct</sub> ||style="background:black; width:2px" | || style="background:white;width:24px"|0|| style="background:white;width:24px"|0|| style="background:white;width:24px"|0|| style="background:white;width:24px"|0 ||style="background:black; width:2px" |
| 0 || 0000 || 0
|-style="background:#E3EDE9; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''1'''<sub>hex</sub> || = || 1<sub>dec</sub> || = || 1<sub>oct</sub>||style="background:black; width:2px" | || style="background:white;width:24px"|0|| style="background:white;width:24px"|0|| style="background:white;width:24px"|0|| style="background:red;width:24px"|L||style="background:black; width:2px" |
| 1 || 0001 || 1
|-style="background:#E3EDE9; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''2'''<sub>hex</sub> || = || 2<sub>dec</sub> ||= || 2<sub>oct</sub>||style="background:black; width:2px" | || style="background:white;width:24px"|0|| style="background:white;width:24px"|0|| style="background:red;width:24px"|L|| style="background:white;width:24px"|0||style="background:black; width:2px" |
| 2 || 0010 || 2
|-style="background:#FDC888; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''3'''<sub>hex</sub> || = || 3<sub>dec</sub> || = || 3<sub>oct</sub>||style="background:black; width:2px" | || style="background:white;width:24px"|0|| style="background:white;width:24px"|0|| style="background:red;width:24px"|L|| style="background:red;width:24px"|L||style="background:black; width:2px" |
| 3 || 0011 || 3
|- style="background:black; height:2px"
|-
| style="background:black; width:2px" | || || || || || || || || || || ||
| 4 || 0100 || 4
|-style="background:#E3EDE9; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''4'''<sub>hex</sub> || = || 4<sub>dec</sub> ||= || 4<sub>oct</sub>||style="background:black; width:2px" | || style="background:white;width:24px"|0|| style="background:red;width:24px"|L|| style="background:white;width:24px"|0|| style="background:white;width:24px"|0||style="background:black; width:2px" |
| 5 || 0101 || 5
|-style="background:#FDC888; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''5'''<sub>hex</sub> || = || 5<sub>dec</sub> || = || 5<sub>oct</sub>||style="background:black; width:2px" | || style="background:white;width:24px"|0|| style="background:red;width:24px"|L|| style="background:white;width:24px"|0|| style="background:red;width:24px"|L||style="background:black; width:2px" |
| 6 || 0110 || 6
|-style="background:#FEE978; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''6'''<sub>hex</sub> || = || 6<sub>dec</sub> ||= || 6<sub>oct</sub>||style="background:black; width:2px" | || style="background:white;width:24px"|0|| style="background:red;width:24px"|L|| style="background:red;width:24px"|L|| style="background:white;width:24px"|0||style="background:black; width:2px" |
| 7 || 0111 || 7
|-style="background:#E3EDE9; color:black; height:24px"
|-
| style="background:black; width:2px" | ||'''7'''<sub>hex</sub> || = || 7<sub>dec</sub> || = || 7<sub>oct</sub>||style="background:black; width:2px" | || style="background:white;width:24px"|0|| style="background:red;width:24px"|L|| style="background:red;width:24px"|L|| style="background:red;width:24px"|L||style="background:black; width:2px" |
| 8 || 1000 || 8
|- style="background:black; height:2px"
|-
| style="background:black; width:2px" | || || || || || || || || || || ||
| 9 || 1001 || 9
|-style="background:#E3EDE9; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''8'''<sub>hex</sub> || = || 8<sub>dec</sub> || = || 10<sub>oct</sub>||style="background:black; width:2px" | || style="background:red;width:24px"|L|| style="background:white;width:24px"|0|| style="background:white;width:24px"|0|| style="background:white;width:24px"|0||style="background:black; width:2px" |
| A || 1010 || 10
|-style="background:#FEE978; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''9'''<sub>hex</sub> || = || 9<sub>dec</sub> ||= || 11<sub>oct</sub>||style="background:black; width:2px" | || style="background:red;width:24px"|L|| style="background:white;width:24px"|0|| style="background:white;width:24px"|0|| style="background:red;width:24px"|L||style="background:black; width:2px" |
| B || 1011 || 11
|-style="background:#FDC888; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''A'''<sub>hex</sub>|| = || 10<sub>dec</sub> || = || 12<sub>oct</sub>||style="background:black; width:2px" | || style="background:red;width:24px"|L|| style="background:white;width:24px"|0|| style="background:red;width:24px"|L|| style="background:white;width:24px"|0||style="background:black; width:2px" |
| C || 1100 || 12
|-style="background:#E3EDE9; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''B'''<sub>hex</sub>|| = || 11<sub>dec</sub> || = || 13<sub>oct</sub>||style="background:black; width:2px" | || style="background:red;width:24px"|L|| style="background:white;width:24px"|0|| style="background:red;width:24px"|L|| style="background:red;width:24px"|L||style="background:black; width:2px" |
| D || 1101 || 13
|- style="background:black; height:2px"
|-
| style="background:black; width:2px" | || || || || || || || || || || ||
| E || 1110 || 14
|-style="background:#FDC888; color:black; height:24px"
|-
| style="background:black; width:2px" | || '''C'''<sub>hex</sub>|| = || 12<sub>dec</sub> || = || 14<sub>oct</sub>||style="background:black; width:2px" | || style="background:red;width:24px"|L|| style="background:red;width:24px"|L|| style="background:white;width:24px"|0|| style="background:white;width:24px"|0||style="background:black; width:2px" |
| F || 1111 || 15
|-style="background:#E3EDE9; color:black; height:24px"
| style="background:black; width:2px" | || '''D'''<sub>hex</sub>|| = || 13<sub>dec</sub> ||= || 15<sub>oct</sub>||style="background:black; width:2px" | || style="background:red;width:24px"|L|| style="background:red;width:24px"|L|| style="background:white;width:24px"|0|| style="background:red;width:24px"|L||style="background:black; width:2px" |
|-style="background:#E3EDE9; color:black; height:24px"
| style="background:black; width:2px" | || '''E'''<sub>hex</sub>|| = || 14<sub>dec</sub> ||= || 16<sub>oct</sub>||style="background:black; width:2px" | || style="background:red;width:24px"|L|| style="background:red;width:24px"|L|| style="background:red;width:24px"|L|| style="background:white;width:24px"|0||style="background:black; width:2px" |
|-style="background:#FDC888; color:black; height:24px"
| style="background:black; width:2px" | || '''F'''<sub>hex</sub>|| = || 15<sub>dec</sub> || = || 17<sub>oct</sub>||style="background:black; width:2px" | || style="background:red;width:24px"|L|| style="background:red;width:24px"|L|| style="background:red;width:24px"|L|| style="background:red;width:24px"|L||style="background:black; width:2px" |
|- style="background:black; height:2px"
| style="background:black; width:2px" | || || || || || || || || || || ||
|}
</div>
 
Nekatera števila v šestnajstiškem zapisu se ne razlikujejo od drugih zapisov, recimo desetiškega. Zato jih v običajnem matematičnem zapisu opremimo z [[indeks]]om, ki označuje osnovo: 123<sub>16</sub> = 291<sub>10</sub> ali pa redkeje 123(16) = 291(10).
Vrstica 60 ⟶ 67:
E = 14,
F = 15
 
 
 
 
Šestnajstiško števio: ABCDEF (decimalno 11259375)
Vrstica 65 ⟶ 75:
'''A''' '''B''' '''C''' '''D''' '''E''' '''F'''
10 * 16<sup>5</sup> + 11 * 16<sup>4</sup> + 12 * 16<sup>3</sup> + 13 * 16<sup>2</sup> + 14 * 16<sup>1</sup> + 15 * 16<sup>0</sup>
10485760 + 720896 + 49152 + 3328 + 224 + 15