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

  • Thread starter Thread starter soonsoon88
  • Start date Start date
  • Tags Tags
    Binary Fractions
Click For Summary
SUMMARY

The discussion focuses on the addition of binary fractions, illustrating that binary arithmetic operates similarly to decimal arithmetic. The example provided shows that 0.1 (binary) plus 0.1 (binary) equals 1.0 (binary), confirming that binary fractions can be added just like ordinary fractions. Additionally, the conversation highlights that this principle extends to other bases, such as hexadecimal, where 0.a3 plus 0.63 results in 1.06. This demonstrates the universal nature of positional number systems in handling overflow during addition.

PREREQUISITES
  • Understanding of binary number representation
  • Familiarity with basic arithmetic operations in different bases
  • Knowledge of hexadecimal number system
  • Concept of carrying in positional number systems
NEXT STEPS
  • Research binary arithmetic operations in detail
  • Learn about hexadecimal arithmetic and its applications
  • Explore the concept of positional number systems
  • Study overflow handling in various numeral systems
USEFUL FOR

Mathematicians, computer scientists, software developers, and anyone interested in understanding binary and hexadecimal arithmetic operations.

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).
 

Similar threads

Replies
5
Views
3K
Replies
4
Views
2K
Replies
14
Views
3K
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
4
Views
2K
Replies
6
Views
16K