This is my fourth article on binary arithmetic. In this article I am going to solve some examples on binary numbers division. Here are articles on binary numbers addition,binary numbers subtraction and binary numbers multiplication.
Key Questions:
How to perform division on binary numbers?
How to perform division on fractional binary numbers?
Binary Numbers Division Examples:
The division of binary numbers and the rules we follow are exactly the same as we learnt in primary classes. It's may be a little bit difficult from multiplication. Once you understand it will not difficult for you.
I discussed every possible case. The first case in which both dividend and divisor both are integers. The second case in which dividend has a fractional part while divisor is an integer. The third case in which dividend and divisor both have fractional part. In third case it is better to shift the binary point to make the problem easy.
Example#01: 11001110)2÷11)2
1000100.101
11 ⟌11001110
11
XX0011
11
XX100
11
0100
11
01
Answer:1000100.101)2
Example#02:10100101)2÷101)2
100001
101⟌10100101
101
XXX00101
101
XXX
Answer: 100001)2
Example#03:11100.111)2÷100)2
111.01
100⟌11100.111
100
0110
100
0100
100
XXX111
100
011
Answer:111.01)2
Example#04:1111.1111)2÷1.01)2
By shifting the binary point of numerator and denominator makes the problem simple. According to mathematical rule if you shift binary point of numerator/dividend upto two places you have to shift the binary point of denominator/divisor upto two places as well. Let's try it!!
1111.1111 ÷ 1.01
Dividend Divisor
After shifting binary point upto two places the problem becomes
111111.11 ÷ 101
Dividend. Divisor
1100.11
101⟌111111.11
101
0101
101
XX111
101
101
101
XX
Answer:1100.11)2