Floating Point Lab - of 16 values on the left corresponds...

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

View Full Document Right Arrow Icon
Floating Point Denormalized Numbers J. Stanley Warford Computer Science Department Pepperdine University Malibu, CA 90263 The following figure is a scale drawing of the floating point values for normalized num- bers (top) and denormalized numbers (bottom). The representation is identical to that of the IEEE 754 floating point standard except that the exponent field is three bits and the sig- nificand field is four bits, which corresponds to the example in Figure 3.32 of Computer Systems , fourth edition. For both number lines, the leftmost value is + 0 . 0 and the rightmost value is + 1 . 0 . The figure shows three complete sequences of values for exponent fields of 000, 001, and 010 (excess 3), which represent - 3 , - 2 , and - 1 (dec) respectively. For normalized numbers in general, the gap between successive values doubles with each unit increase of the exponent. For example, in the number line on the top the group
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: of 16 values on the left corresponds to numbers written in binary scienti±c notation with a multiplier of 2-3 . The next group of 16 numbers to the right are spaced twice as far apart and corresponds to numbers written in binary scienti±c notation with a multiplier of 2-2 . Without denormalization, the gap between + . and the smallest positive value is ex-cessive compared to the gaps in the smallest sequence. Denormalization makes the gap between successive values for the ±rst sequence equal to the gap between successive val-ues for the second sequence. It spreads these values out evenly as they approach + . from the right. On the left half of the number line, not shown in the ±gure, the largest negative values are spread out evenly as they approach-. from the left. . . . . . . 1...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern