This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
let\'s translate to decimal like this:
0∙87+1∙86+0∙85+1∙84+0∙83+0∙82+1∙81+1∙80+1∙8-1+0∙8-2+0∙8-3+1∙8-4+1∙8-5+0∙8-6+0∙8-7+0∙8-8 = 0∙2097152+1∙262144+0∙32768+1∙4096+0∙512+0∙64+1∙8+1∙1+1∙0.125+0∙0.015625+0∙0.001953125+1∙0.000244140625+1∙3.0517578125E-5+0∙3.814697265625E-6+0∙4.7683715820312E-7+0∙5.9604644775391E-8 = 0+262144+0+4096+0+0+8+1+0.125+0+0+0.000244140625+3.0517578125E-5+0+0+0 = 266249.1252746582031210
got It: 01010011.100110008 =266249.1252746582031210
Translate the number 266249.1252746582031210 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
266249 | 16 | | | | |
-266240 | 16640 | 16 | | | |
9 | -16640 | 1040 | 16 | | |
| 0 | -1040 | 65 | 16 | |
| | 0 | -64 | 4 | |
| | | 1 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 12527465820312*16 |
2 | .00439*16 |
0 | .07031*16 |
1 | .125*16 |
1 | .0*16 |
F | .0*16 |
F | .0*16 |
F | .0*16 |
F | .99998*16 |
F | .99966*16 |
F | .99451*16 |
the result of the conversion was:
266249.1252746582031210 = 41009.2011FFFFFF16
answer: 01010011.100110008 = 41009.2011FFFFFF16
now let\'s make the transfer using the decimal system.
let\'s do a direct translation from octal to binary like this:
01010011.100110008 = 0 1 0 1 0 0 1 1. 1 0 0 1 1 0 0 0 = 0(=000) 1(=001) 0(=000) 1(=001) 0(=000) 0(=000) 1(=001) 1(=001). 1(=001) 0(=000) 0(=000) 1(=001) 1(=001) 0(=000) 0(=000) 0(=000) = 000001000001000000001001.0010000000010010000000002
answer: 01010011.100110008 = 1000001000000001001.0010000000010012
Fill in the number with missing zeros on the left
Fill in the number with missing zeros on the right
let\'s do a direct translation from binary to hexadecimal like this:
01000001000000001001.00100000000100102 = 0100 0001 0000 0000 1001. 0010 0000 0001 0010 = 0100(=4) 0001(=1) 0000(=0) 0000(=0) 1001(=9). 0010(=2) 0000(=0) 0001(=1) 0010(=2) = 41009.201216
answer: 01000001000000001001.00100000000100108 = 41009.201216