변환기 도구
Enter an octal number (0-7). The '0o' prefix is optional. Choose between unsigned and signed (two's complement) interpretation.
Bits:
0
Type:
Unsigned
이진 표현:
16진수 표현:
숫자 체계 정보
옥탈 시스템
The octal numeral system, or oct for short, is the base-8 number system, and uses the digits 0 to 7. Octal numerals can be made from binary numerals by grouping consecutive binary digits into groups of three (starting from the right).
8진수에서 10진수로의 변환표
| Octal | Decimal | Octal | Decimal |
|---|---|---|---|
| 0 | 0 | 4 | 4 |
| 1 | 1 | 5 | 5 |
| 2 | 2 | 6 | 6 |
| 3 | 3 | 7 | 7 |
십진법
십진법은 0, 1, 2, 3, 4, 5, 6, 7, 8, 9의 10개 기호를 사용하는 base-10 번호 체계입니다. 일상 생활에서 가장 일반적으로 사용되는 숫자 체계입니다.
2의 보수
2의 보수는 이진 시스템에서 음수를 나타내는 데 사용되는 수학 연산입니다. 덧셈 및 뺄셈과 같은 산술 연산을 단순화하기 때문에 컴퓨팅에 널리 사용됩니다.
양수를 2의 보수에서 음수로 변환하려면:
- 숫자를 이진수로 변환합니다.
- Invert all the bits (change 0 to 1 and 1 to 0).
- 반전 결과에 1을 더합니다.
음수 2의 보수 번호를 다시 10진수로 변환하려면:
- 모든 비트를 반전시킵니다.
- 반전 결과에 1을 더합니다.
- 결과를 10진수로 변환하고 앞에 음수 부호를 붙입니다.
예: 8비트 Two의 보수
Positive Number (5):
0000 0101 (binary)
Negative Number (-5):
1111 1010 (inverted bits of 5)
1111 1011 (add 1 = two's complement representation of -5)
8비트 2의 보수 범위:
-128 (1000 0000) to 127 (0111 1111)