3.30 [30] Calculate the product of-8.0546875× 10° and-1.79931640625 10\" by hand
ID: 3607117 • Letter: 3
Question
3.30 [30] Calculate the product of-8.0546875× 10° and-1.79931640625 10" by hand, assuming A and B are stored in the 16-bit half precision format described in Exercise 3.27. Assume 1 guard, 1 round bit, and 1 sticky bit, and round to the nearest even. Show all the steps; however, as is done in the example in the text, you can do the multiplication in human-readable format instead of using the techniques described in Exercises 3.12 through 3.14. Indicate if there is overflow or underflow. Write your answer in both the 16-bit floating point format described e 327 and also as a decimal number. How accurate is your result? How t compare to the number you get if you do the multiplication on a calculator?Explanation / Answer
Ans:According to question , -8.0546875X100= -8.0546875
-1.79931640625X10-1= -0.179931640625
A & B stored in 16bit half precision with 1 round bit,1guard,1sticky bit
So the floating point can be calculated as –1.0100001101 × 2-6 = 1010100100001101 = .0000010100001101 =
–.0197296142578125
–2.27724375/115.4375 = –.0197284499001598308997743
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.