
CSCE 210: Computer Hardware Foundations Fall 2009
Homework 3 10/06/09
1. (1 point)
a. Convert the number 1234.56 1018 to the format SEEMMMMM, with
the exponent stored in excess-45 notation. The implied decimal point is to
the right of the first mantissa digit. (Hint: Notice that this format is
different from what we saw in class: The exponent is stored in excess-45
notation. Please round extra digit if needed.)
b. What is the smallest positive number you can represent using this format?
2. (1 point) The following decimal numbers are stored in the SEEMMMMM floating
point format, with the exponent stored in excess-50 notation and the decimal point
located at the beginning of the mantissa. Perform the following calculations and write out
your results in standard decimal notation.
a. 05247183 + 04933590
b. 05482100 54821000
3. (0.5 points) Represent the decimal number 147.625 in IEEE 754 single-precision
floating point format. (Hint: For this specific number, an exact binary representation can
be found.)
4. (1.5 points) Write a Little Man program that accepts three values as input and produces
the largest of the three as output.
This homework accounts for 4 points toward your final grade. You need to submit a
hardcopy of your neatly typed answers for the problems. In order to get the points, you
need to explain your answer when you are asked to. This homework is due on Oct. 13 in
class.