Question: Converting Decimal Fractions To Binary 0.40 0.80 1.60 1.20 0.40 0.80 1.60 1.20 .40 0 0 0 Note that the binary representation of 0.410

Converting Decimal Fractions To Binary 0.40 0.80 1.60 1.20 0.40 0.80 1.60

Converting Decimal Fractions To Binary 0.40 0.80 1.60 1.20 0.40 0.80 1.60 1.20 .40 0 0 0 Note that the binary representation of 0.410 is a repeating base two fraction, .01102 This just says that 0.4 cannot be exactly represented as a sum of inverse powers of two. .875 = 1 1 1 +-+ = 0.875 .400 = 1 - 4 + 8 + 1 1 1 1 + + + 64 128 1024 2048 Invitation to Computer Science, C++ Version, Third Edition = 0.399902 42 +3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!