Adding Binary Fractions: A Simple Guide to Calculating and Understanding Results

  • Thread starter Thread starter soonsoon88
  • Start date Start date
  • Tags Tags
    Binary Fractions
AI Thread Summary
The discussion explains how to add binary fractions, confirming that 10.00 + 00.11 equals 10.11. It clarifies that in binary, 0.1 + 0.1 equals 1.0, as 0.1 represents 0.5 in decimal. The method for adding binary fractions involves carrying over values similar to decimal addition. The principles discussed apply to other bases, including hexadecimal, illustrating how to manage carries and overflow. Understanding these concepts is essential for accurate calculations in various numeral systems.
soonsoon88
Messages
53
Reaction score
0
10.00 + 00.11 = 10.11 ...am i right?

how about if..
0.1 + 0.1 = ?
is it equal to 1.0 ?

thx for helping =)
 
Physics news on Phys.org
Yep, it works just like in "ordinary" fractions.

If you want to add 0.9 and 0.3, you first add 9 and 2 giving 12. So you write down 2 and carry 1 to the next position, giving 0 + 0 + 1 = 1. Therefore, 0.9 + 0.3 = 1.2

Similarly, if you want to add 0.1 and 0.1, you first do 1 + 1 = 10, so you write down 0 and carry 1 to the next position, giving 0 + 0 = 1. Therefore, 0.1 + 0.1 = 1.0.
Indeed, 0.1 in binary corresponds to 0.5 in decimal notation, and 0.5 + 0.5 = 1.0 which is also 1.0 in binary notation.

All this works for any base, in fact. For example, in a hexadecimal base, 0.a3 + 0.63 = 1.06, because 3 + 3 = 6 (write 6, carry 0); a + 6 + 0 = 10 (write 0, carry 1) and 0 + 0 + 1 = 1. This is sort of by definition of our system to write down numbers, in which any "overflow" of one position counter is automatically "caught" by the next one (i.e. if the units counter overflows then we start adding to the tens-counter).
 
Back
Top