I have the number 0.625. If I need to convert it into binary form, I can multiply by two:
0.625 * 2 = 1.25 / 1
0.25 * 2 = 0.5 / 0
0.5 * 2 = 1.0 / 1
So the result is 0.62510=0.1012
I'm trying to understand how this algorithm works. The initial form is: $$ x_1\cdot2^{-1} + x_2\cdot2^{-2} + x_3\cdot2^{-3} = 0.625 $$ I can factor out 2-1, so the I'll have: $$ 2^{-1}\cdot(x_1\cdot2^0 + x_2\cdot2^{-1} + x_3\cdot2^{-2}) = 0.625 $$ From here: $$ x_1\cdot2^0 + x_2\cdot2^{-1} + x_3\cdot2^{-2} = 1.25 $$ Now, what logic should I use to tell that x1 is 1 here?