Professional Documents
Culture Documents
What is so special about all these numbers from a to f? Can you identify?
Ans: Numbers a through f all consist of only fractional parts. Moreover, they
all end with the same step:
0.5*2 = 1.0 -- 1
(1.0 - 1)*2 = 0.0 -- 0
This means that all the binary equivalents of decimal numbers from a to f end with 1.
Moreover, the number of digits after the decimal point remain the same in both the
binary and the decimal number. So 0.510 only has one digit after the decimal. Similarly, its
binary equivalent 0.12 also has only one digit after the decimal.
2. Consider the decimal number 15.7510. How can we convert this entire
number (both the integer and fractional parts) to binary?
Ans. 15.7510 = 1510 + 0.7510
=> The Binary equivalent of 1510 is: 11112 = 1*(2^3) + 1*(2^2) + 1*(2^1) + 1*(2^0)
=> The Binary equivalent of 0.7510 is: 0.112
0.112 = 1*(2^-1) + 1*(2^-2)
0.112 = 0.510 + 0.7510
The method we use to calculate the fractional
part is: 0.75*2 = 1.5 —> 1
(1.5 - 1)*2 = 1.0 —> 1
(1.0 - 1)*2 = 0 —> 0
Therefore, the fractional part is written as 0.1102 or simply
0.112 The binary equivalent of 15.7510 is 1111.112