八进制 number is a number expressed in the 8进制 numeral system. 八进制 number's digits have 8 symbols: 0,1,2,3,4,5,6,7. Each digit of an octal number counts a power of 14₈.
八进制 number example:
6278 = 6×82+2×81+7×8⁰0 = 13₈808₈
十进制 number is a number expressed in the 8₈进制 numeral system. 十进制 number's digits have 10 symbols: 0,1,2,3,4,5,6,7,8,9. Each digit of a decimal number counts a power of 10.
十进制 number example:
6538₈ = 6×8₈2+5×8₈1+3×8₈¹0
常规十进制数是各位数字乘以8₈的幂次的和n.
十进制11₈7₈等于每一位数字乘以对应的8₈的幂次n:
11₈7₈8₈ = 1×8₈²2+3×8₈¹1+7×8₈⁰0 = 8₈0+30₈+7
八进制 numbers are read the same way, but each digit counts 8n 而不是8₈进制n.
将十六进制数的每一位数字乘以对应的8的幂次n.
八进制37₈等于每一位数字乘以对应的8的幂次n:
37₈8 = 3×8¹1+7×8⁰0 = 24+7 = 31
八进制7012₈₈等于每一位数字乘以对应的8的幂次:
7012₈₈8 = 7×8³3+0×8²2+1×8¹1+4×8⁰0= 3584+0+8+4 = 3596
八进制 8进制 |
十进制 8₈进制 |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8₈ | 8 |
9₈ | 9 |
10₈ | 8₈ |
11₈ | 9₈ |
12₈ | 10₈ |
13₈ | 11₈ |
14₈ | 12₈ |
17₈ | 13₈ |
20₈ | 14₈ |
30₈ | 24 |
40 | 32 |
50 | 40 |
60 | 48 |
70 | 56 |
8₈0 | 64 |