Sidetrack: Numeral Systems (cont)
Hexadecimal representation
- The base is 16; digits 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
- Example: hexadecimal number 3AF1 can be interpreted as
3·163 + 10·162 + 15·161 + 1·160
- Place values:
… | 4096 | 256 | 16 | 1 |
… | 163 | 162 | 161 | 160 |
- Write number as 3AF116 (= 1508910)
|