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:
5.0.0.25516 = 5. 0 . 0 . 2 5 5 = 5(=0101). 0(=0000) .(=0000) 0(=0000) .(=0000) 2(=0010) 5(=0101) 5(=0101) = 101.00000000000000000010010101012
answer: 5.0.0.25516 = 101.00000000000000000010010101012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
5∙160+0∙16-1+.∙16-2+0∙16-3+.∙16-4+2∙16-5+5∙16-6+5∙16-7 = 5∙1+0∙0.0625+.∙0.00390625+0∙0.000244140625+.∙1.52587890625E-5+2∙9.5367431640625E-7+5∙5.9604644775391E-8+5∙3.7252902984619E-9 = 5+0+0+0+0+1.9073486328125E-6+2.9802322387695E-7+1.862645149231E-8 = 5.2.2239983081818E-610
got It: 5.0.0.25516 =5.2.2239983081818E-610
Translate the number 5.2.2239983081818E-610 в binary like this:
the Integer part of the number is divided by the base of the new number system:
5 | 2 | | |
-4 | 2 | 2 | |
1 | -2 | 1 | |
| 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 2.2239983081818E-6*2 |
0 | .4*2 |
0 | .8*2 |
1 | .6*2 |
1 | .2*2 |
0 | .4*2 |
0 | .8*2 |
1 | .6*2 |
1 | .2*2 |
0 | .4*2 |
0 | .8*2 |
the result of the conversion was:
5.2.2239983081818E-610 = 101.00110011002
answer: 5.0.0.25516 = 101.00110011002