This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
Fill in the number with missing zeros on the left
let\'s do a direct translation from binary to hexadecimal like this:
0011111111111111111111112 = 0011 1111 1111 1111 1111 1111 = 0011(=3) 1111(=F) 1111(=F) 1111(=F) 1111(=F) 1111(=F) = 3FFFFF16
answer: 0011111111111111111111112 = 3FFFFF16
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙223+0∙222+1∙221+1∙220+1∙219+1∙218+1∙217+1∙216+1∙215+1∙214+1∙213+1∙212+1∙211+1∙210+1∙29+1∙28+1∙27+1∙26+1∙25+1∙24+1∙23+1∙22+1∙21+1∙20 = 0∙8388608+0∙4194304+1∙2097152+1∙1048576+1∙524288+1∙262144+1∙131072+1∙65536+1∙32768+1∙16384+1∙8192+1∙4096+1∙2048+1∙1024+1∙512+1∙256+1∙128+1∙64+1∙32+1∙16+1∙8+1∙4+1∙2+1∙1 = 0+0+2097152+1048576+524288+262144+131072+65536+32768+16384+8192+4096+2048+1024+512+256+128+64+32+16+8+4+2+1 = 419430310
got It: 0011111111111111111111112 =419430310
Translate the number 419430310 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
4194303 | 16 | | | | | |
-4194288 | 262143 | 16 | | | | |
F | -262128 | 16383 | 16 | | | |
| F | -16368 | 1023 | 16 | | |
| | F | -1008 | 63 | 16 | |
| | | F | -48 | 3 | |
| | | | F | | |
|
the result of the conversion was:
419430310 = 3FFFFF16
answer: 0011111111111111111111112 = 3FFFFF16