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 hexadecimal to binary like this:
5F.7A16 = 5 F. 7 A = 5(=0101) F(=1111). 7(=0111) A(=1010) = 1011111.01111012
answer: 5F.7A16 = 1011111.01111012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
5∙161+15∙160+7∙16-1+10∙16-2 = 5∙16+15∙1+7∙0.0625+10∙0.00390625 = 80+15+0.4375+0.0390625 = 95.476562510
got It: 5F.7A16 =95.476562510
Translate the number 95.476562510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
95 | 2 | | | | | | |
-94 | 47 | 2 | | | | | |
1 | -46 | 23 | 2 | | | | |
| 1 | -22 | 11 | 2 | | | |
| | 1 | -10 | 5 | 2 | | |
| | | 1 | -4 | 2 | 2 | |
| | | | 1 | -2 | 1 | |
| | | | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 4765625*2 |
0 | .95313*2 |
1 | .90625*2 |
1 | .8125*2 |
1 | .625*2 |
1 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
95.476562510 = 1011111.01111012
answer: 5F.7A16 = 1011111.01111012