Question
9. (6x1 pt) Add -.12510 and .312510 in binary using the floating point addition algorithm. The answer will be .1875. Your job will be to
9. (6x1 pt) Add -.12510 and .312510 in binary using the floating point addition algorithm. The answer will be .1875. Your job will be to show how you do the math in binary and produce a value that when converted back to decimal is .1875.
a. Convert the two numbers to fractions (for example, 0.75 = 3/22) ___________________________________________________________________
b. Convert both numbers to scientific notation and convert the significands to binary. Then normalize. For example, 3x2-2 = 11.00 x 2-2 = 1.100 x 2-1 . ___________________________________________________________________
c. Rewrite the numbers to match exponents ___________________________________________________________________
d. Add the significands ___________________________________________________________________
e. Normalize sum and verify no overflow or underflow in the exponent (assume a valid exponent range of -128 to +128) Exponent: Overflow or No Overflow _______________ x 2_____
f. Check your answer. Multiply by the power to represent the answer as an ordinary binary number (for example, if you had 1.0101 x 22, you would convert it to 101.01) and then back to decimal (continuing with the example, 101.01 would be 5.25). ________________________________________________________________ ________________________________________________________________
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started