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.116 = 5. 0 . 0 . 1 = 5(=0101). 0(=0000) .(=0000) 0(=0000) .(=0000) 1(=0001) = 101.000000000000000000012
answer: 5.0.0.116 = 101.000000000000000000012
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+1∙16-5 = 5∙1+0∙0.0625+.∙0.00390625+0∙0.000244140625+.∙1.52587890625E-5+1∙9.5367431640625E-7 = 5+0+0+0+0+9.5367431640625E-7 = 5.9.5367431640625E-710
got It: 5.0.0.116 =5.9.5367431640625E-710
Translate the number 5.9.5367431640625E-710 в 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. | 9.5367431640625E-7*2 |
1 | .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 |
1 | .6*2 |
the result of the conversion was:
5.9.5367431640625E-710 = 101.11100110012
answer: 5.0.0.116 = 101.11100110012