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 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
Get step-by-step solutions from verified subject matter experts
