Unformatted text preview: rs. However, since
the wording of the assignment could be interpreted two ways, we also accepted solutions
wherein the student formulated two separate algorithms (one for subtraction and one for
division). This solution shows how to implement one algorithm that accomplishes both.
First, let’s look at the steps necessary to complete each of the operations separately:
• Set result’s exponent equal to larger exponent
• Shift mantissa of smaller number as needed so that exponents are the same
• Subtract mantissas
• Normalize resulting mantissa as...
View Full Document
This document was uploaded on 02/26/2014 for the course ECE 490SIC at Drexel.
- Fall '08