Homework 2 Solution

Division subtract the exponents and re add the bias

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: needed • Set sign bit. Division: • Subtract the exponents and re-add the bias. • Divide mantissas. • Normalize resulting mantissa as needed • Set sign bit. Note the differences between these algorithms; however, consider that in order to determine the number of times to shift the mantissa, you must subtract the exponents in subtraction. This is a step shared by both subtraction and division; however, in division the result of subtracting the exponents is used as the exponent of the quotient, while in subtraction it is used onl...
View Full Document

Ask a homework question - tutors are online