For example the expression 18 1 will generate the bit

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: ¾ ¿¾ ) down ¿ ½ to ½¼ ¼¼¾ (¾), and ½¼ ¼¼½½¼¾ (¾ ½ ) up to ½¼ ¼½¾ (¾ ), because these values are not halfway between two possible values. We would round ½¼ ½½½¼¼¾ (¾ ) up to ½½ ¼¼¾ (¿) and ½¼ ½¼½¼¼¾ down to ½¼ ½¼¾ (¾ ½ ), ¾ since these values are halfway between two possible results, and we prefer to have the least significant bit equal to zero. 2.4.5 Floating-Point Operations The IEEE standard specifies a simple rule for determining the result of an arithmetic operation such as addition or multiplication. Viewing floating-point values Ü and Ý as real numbers, and some operation ¬ defined over real numbers, the computation should yield ÊÓÙÒ ´Ü ¬ Ý µ, the result of applying rounding to the exact result of the real operation. In practice, there are clever tricks floating-point unit designers use to avoid performing this exact computation, since the computation need only be sufficiently precise to guarantee a correctly rounded resul...
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