Homework #2

Assigned: 26 February 1996

Due: 4 March 1996

  1. Problem 3.25 from the text.
  2. Problems 4.22, 4.23, 4.27, 4.33, and 4.34 from the text.
  3. Make a table similar to Figure 4.28 for the multiplication problem 01101001 (multiplicand) x 00110010 (multiplier). Use the third multiplication algorithm (the one shown in Figure 4.27).
  4. Perform the following floating point conversions:
    1. Convert -9.375 into IEEE 754 single precision (32-bit) format.
    2. Convert 319.5 into IEEE 754 double precision (64-bit) format.
    3. Convert 0.078125 into IEEE 754 single precision format.
    4. Convert 1011 1010 1100 0100 0000 0000 0000 0000 (IEEE 754 single precision) into decimal.
    5. Convert 0100 0011 0110 1010 0000 0000 0000 0000 (IEEE 754 single precision) into decimal.
  5. What is the largest (finite) number representable in IEEE 754 single precision format? Your answer should be in base ten scienific notation, and need only be accurate to 4 places. (ie, please use a calculator to do the arithmetic, even though the answer won't be exact.)
  6. Convert 8.25 and -0.625 into binary floating point, and show the steps necessary to add them to produce an IEEE 754 result. Go back to the main page.
    Last updated 21 Feb 1996 by Ethan Miller (elm@cs.umbc.edu)