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:
456.2508 = 4 5 6. 2 5 0 = 4(=100) 5(=101) 6(=110). 2(=010) 5(=101) 0(=000) = 100101110.0101010002
answer: 456.2508 = 100101110.0101012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
4∙82+5∙81+6∙80+2∙8-1+5∙8-2+0∙8-3 = 4∙64+5∙8+6∙1+2∙0.125+5∙0.015625+0∙0.001953125 = 256+40+6+0.25+0.078125+0 = 302.32812510
got It: 456.2508 =302.32812510
Translate the number 302.32812510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
302 | 2 | | | | | | | | |
-302 | 151 | 2 | | | | | | | |
0 | -150 | 75 | 2 | | | | | | |
| 1 | -74 | 37 | 2 | | | | | |
| | 1 | -36 | 18 | 2 | | | | |
| | | 1 | -18 | 9 | 2 | | | |
| | | | 0 | -8 | 4 | 2 | | |
| | | | | 1 | -4 | 2 | 2 | |
| | | | | | 0 | -2 | 1 | |
| | | | | | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 328125*2 |
0 | .65625*2 |
1 | .3125*2 |
0 | .625*2 |
1 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
302.32812510 = 100101110.0101012
answer: 456.2508 = 100101110.0101012