1
$\begingroup$

I wanted to calculate this (binary):

10101.101/1.1.

the result is:

1110.01101010101010101010101010...

I succeed in calculating the integer part, but I didn't understand how I find the numbers that are after the decimal point (not all of them of course, just to find the first 4 numbers for example).

I tried to google it, but I only saw simple examples of dividing binary numbers, without numbers like this.

how do I caclulate this correctly?

$\endgroup$
  • 1
    $\begingroup$ Compute $101011.01/11$. The algorithm is the same as in the decimal case. $\endgroup$ – Aretino Nov 1 '15 at 12:31
  • $\begingroup$ tnx, I know understand my problem. I tried to calculate with different algorithm that seems to work only at some simple cases. $\endgroup$ – John Nov 1 '15 at 19:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.