십육진법: 두 판 사이의 차이

내용 삭제됨 내용 추가됨
84.16.40.182(토론)의 17401414판 편집을 되돌림
hnfh
1번째 줄:
{{기수법}}
 
{| | 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"|1|| style="background:white;width:24px"|0|| style="background:white;width:24px"|0||style="background:black; width:2px" |
'''십육진법'''(十六進法, hexadecimal)은 [[16]]을 밑으로 하는 [[기수법]]이다. 보통 0부터 9까지의 수와 A에서 F까지의 [[로마 문자]]를 사용하고, 이때 대소문자는 구별하지 않는다. [[이진법]] 표기의 4자리와 십육진법 한 자리가 일대일 대응하며, 2진수가 많이 쓰이는 컴퓨터에서 2진수를 대신해 많이 쓰이고 있다.
 
1[[바이트]]는 8[[비트]], 즉 2진수 8자리이므로, 16진수 두 자리로 표현할 수 있다.
 
[[파일:Hypercubeorder.svg|90px]]
 
{| border="0" cellspacing="0" cellpadding="0" style="text-align:center;border:2px"
|- style="background:black; height:2px"
| 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" |
|-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"|1||style="background:black; width:2px" |
|-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"|1|| 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"|1|| style="background:red;width:24px"|1||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"|1|| 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"|1|| style="background:white;width:24px"|0|| style="background:red;width:24px"|1||style="background:black; width:2px" |