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 binary to hexadecimal like this:
11111110000000002 = 1111 1110 0000 0000 = 1111(=F) 1110(=E) 0000(=0) 0000(=0) = FE0016
answer: 11111110000000002 = FE0016
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
1∙215+1∙214+1∙213+1∙212+1∙211+1∙210+1∙29+0∙28+0∙27+0∙26+0∙25+0∙24+0∙23+0∙22+0∙21+0∙20 = 1∙32768+1∙16384+1∙8192+1∙4096+1∙2048+1∙1024+1∙512+0∙256+0∙128+0∙64+0∙32+0∙16+0∙8+0∙4+0∙2+0∙1 = 32768+16384+8192+4096+2048+1024+512+0+0+0+0+0+0+0+0+0 = 6502410
got It: 11111110000000002 =6502410
Translate the number 6502410 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
65024 | 16 | | | |
-65024 | 4064 | 16 | | |
0 | -4064 | 254 | 16 | |
| 0 | -240 | F | |
| | E | | |
|
the result of the conversion was:
6502410 = FE0016
answer: 11111110000000002 = FE0016