This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
let\'s do a direct translation from hexadecimal to binary like this:
0000000001ff16 = 0 0 0 0 0 0 0 0 0 1 f f = 0(=0000) 0(=0000) 0(=0000) 0(=0000) 0(=0000) 0(=0000) 0(=0000) 0(=0000) 0(=0000) 1(=0001) f(=1111) f(=1111) = 1111111112
answer: 0000000001ff16 = 1111111112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙1611+0∙1610+0∙169+0∙168+0∙167+0∙166+0∙165+0∙164+0∙163+1∙162+15∙161+15∙160 = 0∙17592186044416+0∙1099511627776+0∙68719476736+0∙4294967296+0∙268435456+0∙16777216+0∙1048576+0∙65536+0∙4096+1∙256+15∙16+15∙1 = 0+0+0+0+0+0+0+0+0+256+240+15 = 51110
got It: 0000000001ff16 =51110
Translate the number 51110 в binary like this:
the Integer part of the number is divided by the base of the new number system:
511 | 2 | | | | | | | | |
-510 | 255 | 2 | | | | | | | |
1 | -254 | 127 | 2 | | | | | | |
| 1 | -126 | 63 | 2 | | | | | |
| | 1 | -62 | 31 | 2 | | | | |
| | | 1 | -30 | 15 | 2 | | | |
| | | | 1 | -14 | 7 | 2 | | |
| | | | | 1 | -6 | 3 | 2 | |
| | | | | | 1 | -2 | 1 | |
| | | | | | | 1 | | |
|
the result of the conversion was:
51110 = 1111111112
answer: 0000000001ff16 = 1111111112