23 example nonnegative values for eight bit floating

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: epresent numbers that can be written Ü ¢ ¾Ý . Other values can only be approximated. For example, although the number ½ can be approximated with increasing accuracy by lengthening the binary representation, we cannot represent it exactly as a fractional binary number: 68 CHAPTER 2. REPRESENTING AND MANIPULATING INFORMATION Representation ¼ ¼¾ ¼ ¼½¾ ¼ ¼½¼¾ ¼ ¼¼½½¾ ¼ ¼¼½½¼¾ ¼ ¼¼½½¼½¾ ¼ ¼¼½½¼½¼¾ ¼ ¼¼½½¼¼½½¾ Value ¼ Decimal ¼ ¼½¼ ¼ ¾ ½¼ ¼ ¾ ½¼ ¼½ ¼½ ½ ¾ ¿ ½ ¿¾ ½¿ ¾ ½¾ ½ ¾ ½¼ ½¼ ¼ ¾¼¿½¾ ½¼ ¼ ¾¼¿½¾ ½¼ ¼½ ¾½ ½¼ Practice Problem 2.23: Fill in the missing information in the table below Fractional Value ½ ¿ ¾¿ ½ ½¼ ½½¼½ ½ ¼½½ ¿ ¿¼ ¾ Binary Rep. ¼ ¼½ Decimal Rep. ¼¾ Practice Problem 2.24: The imprecision of floating point arithmetic can have disastrous effects, as shown by the following (true) story. On February 25, 1991, during the Gulf War, an American Patriot Missile battery in Dharan, Saudi Arabia,...
View Full Document

This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.

Ask a homework question - tutors are online