11 solution pg 318 address 0x0dd5 a address format one

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: oint representations for very small word sizes helps clarify how IEEE floating point works. Note especially the transition between denormalized and normalized values. Bits 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 00 00 01 01 01 01 10 10 10 10 11 11 11 11 00 01 10 11 00 01 10 11 00 01 10 11 00 01 10 11 ¼ ¼ ¼ ¼ ½ ½ ½ ½ ¾ ¾ ¾ ¾ ¼ ¼ ¼ ¼ ¼ ¼ ¼ ¼ ½ ½ ½ ½ ¼ Å ¼ Î ¼ ½ ¾ ¿ ¼ ½ ¾ ¿ ¼ ½ ¾ ¿ ½ ¾ ¿ ½ ¾ ¿ ½¼ ½¾ ½ — — — — — — — — — — — — — — — — · ÆÆ ÆÆ ÆÆ ½ B.2. REPRESENTING AND MANIPULATING INFORMATION Problem 2.26 Solution: [Pg. 74] This exercise helps you think about what numbers cannot be represented exactly in floating point. The number has binary representation When Ò ¾¿ ½ ½ 699 followed by Ò ¼’s followed by ½, giving value ¾Ò·½ · ½. ¾½ , the value is ¾¾ ·½ . Problem 2.27 Solution: [Pg. 78] In general it is better to use a library macro rather than inventing your own code. This code se...
View Full Document

Ask a homework question - tutors are online