This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Ü is an integer, Ý and Ý is an integral power of 2. Examples include: 0, , and ¾½ . The integer value of the exponent. The numeric value represented. Use the notation Ü or Ü ¢ ¾Þ , where Ü and Þ are integers. Î: As an example, to represent the number ¾ , we would have × ¼, Å , and ½. Our number would therefore have an exponent ﬁeld of 0x40 (decimal value ¿ · ½ ) and a signiﬁcand ﬁeld 0xC0 (binary ½½¼¼¼¼¼¼¾ ), giving a hex representation 40C0. You need not ﬁll in entries marked “—”. Description Hex
½ Å Î
— —- ¼ Smallest value 256 Largest Denormalized ½ — — — — Number with hex representation 3AA0 Homework Problem 2.51 [Category 1]: You have been assigned the task of writing a C function to compute a ﬂoating-point representation of ¾Ü . You realize that the best way to do this is to directly construct the IEEE single-precision representation of the result. When Ü is too small, your routine will return ¼ ¼. When Ü is too large, it will return ·½. Fill in the blank portions of the followin...
View Full Document
- Spring '10
- The American