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 octal to binary like this:
372.458 = 3 7 2. 4 5 = 3(=011) 7(=111) 2(=010). 4(=100) 5(=101) = 011111010.1001012
answer: 372.458 = 11111010.1001012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
3∙82+7∙81+2∙80+4∙8-1+5∙8-2 = 3∙64+7∙8+2∙1+4∙0.125+5∙0.015625 = 192+56+2+0.5+0.078125 = 250.57812510
got It: 372.458 =250.57812510
Translate the number 250.57812510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
250 | 2 | | | | | | | |
-250 | 125 | 2 | | | | | | |
0 | -124 | 62 | 2 | | | | | |
| 1 | -62 | 31 | 2 | | | | |
| | 0 | -30 | 15 | 2 | | | |
| | | 1 | -14 | 7 | 2 | | |
| | | | 1 | -6 | 3 | 2 | |
| | | | | 1 | -2 | 1 | |
| | | | | | 1 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 578125*2 |
1 | .15625*2 |
0 | .3125*2 |
0 | .625*2 |
1 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
250.57812510 = 11111010.1001012
answer: 372.458 = 11111010.1001012