Diazez c'hwezekred : diforc'h etre ar stummoù

Eus Wikipedia
Endalc’h diverket Danvez ouzhpennet
SieBot (kaozeal | degasadennoù)
D Robot ouzhpennet: ht:Sistèm ekzadesimal
Diverradenn ebet eus ar c'hemm
Linenn 3: Linenn 3:
Evel e c'heller meizañ diouzh e anv, eo diazezet ar c'hwezekred war un diazez 16 ; setu perak e oa bet divizet goude an dek niveroù kentañ ouzhpennañ al lizherennoù kentañ : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.
Evel e c'heller meizañ diouzh e anv, eo diazezet ar c'hwezekred war un diazez 16 ; setu perak e oa bet divizet goude an dek niveroù kentañ ouzhpennañ al lizherennoù kentañ : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.


[[Image: Hexasmall.jpg|left|80px]]
[[Image: Hexasmall.jpg|right|250px]]
{| border="0" cellspacing="0" cellpadding="0" style="text-align:center;border:2px"
{| border="1"
|- style="background:black; height:2px"
|----- bgcolor="DDDDDD"
|[[Diazez dekredel]]||0 ||1 ||2 ||3 ||4 ||5 ||6 ||7 ||8 ||9 ||10 ||11 ||12 ||13 ||14 ||15
| style="background:black; width:2px" | || || || || || || || || || || ||
|-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" |
|Diazez c'hwezekredel||0 ||1 ||2 ||3 ||4 ||5 ||6 ||7 ||8 ||9 ||A ||B ||C ||D ||E ||F
|-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" |
|[[Diazez daouredel]]||0000||0001||0010||0011||0100||0101||0110||0111||1000||1001||1010||1011||1100||1101||1110||1111
|-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" |
|-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" |
|- style="background:black; height:2px"
| style="background:black; width:2px" | || || || || || || || || || || ||
|-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" |
|-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" |
|-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" |
|-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" |
|- style="background:black; height:2px"
| style="background:black; width:2px" | || || || || || || || || || || ||
|-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" |
|-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" |
|-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" |
|-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" |
|- style="background:black; height:2px"
| style="background:black; width:2px" | || || || || || || || || || || ||
|-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" |
|-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" | || || || || || || || || || || ||
|}
|}



Stumm eus an 30 Eos 2007 da 23:09

O vezañ ma oa niveroù daouredel o vont da vezañ hiroc'h hirañ e oa bet red ijinañ un diazez nevez : an diazez c'hwezekredel.

Evel e c'heller meizañ diouzh e anv, eo diazezet ar c'hwezekred war un diazez 16 ; setu perak e oa bet divizet goude an dek niveroù kentañ ouzhpennañ al lizherennoù kentañ : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.

Restr:Hexasmall.jpg
0hex = 0dec = 0oct 0 0 0 0
1hex = 1dec = 1oct 0 0 0 L
2hex = 2dec = 2oct 0 0 L 0
3hex = 3dec = 3oct 0 0 L L
4hex = 4dec = 4oct 0 L 0 0
5hex = 5dec = 5oct 0 L 0 L
6hex = 6dec = 6oct 0 L L 0
7hex = 7dec = 7oct 0 L L L
8hex = 8dec = 10oct L 0 0 0
9hex = 9dec = 11oct L 0 0 L
Ahex = 10dec = 12oct L 0 L 0
Bhex = 11dec = 13oct L 0 L L
Chex = 12dec = 14oct L L 0 0
Dhex = 13dec = 15oct L L 0 L
Ehex = 14dec = 16oct L L L 0
Fhex = 15dec = 17oct L L L L



Da skouer :

An niver 27 (e diazez 10) = 1*16^1 + 11*16^0 = 1*16^1 + B*16^0 = 1B e diazez 16

An niver FB3 (e diazez 16) = F*16^2 + B*16^1 + 3*16^0 = 3840 + 176 + 3 = 4019

Da amdreiñ un eizhbit e niver c'hwezekredel e vez rannet anezhañ e 2 strollad a bep 4 bit :

0010 1010 = 2A

1101 0101 = D5