Question: I need help with these questions to my homework assignment. 3.30 Calculate the product of -8.0546875 x 10^0 and -1.79931640625 x 10^-1 by hand, assuming
I need help with these questions to my homework assignment.
3.30 Calculate the product of -8.0546875 x 10^0 and -1.79931640625 x 10^-1 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 of 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 in Exercise 3.27 and also as a decimal number. How accurate is your result? How does it compare to the number you get if you do the multiplication on a calculator?
3.31 Calculate by hand 8.625 x 10^1 divided by -4.875 x 10^0. Show all the steps necessary to achieve your answer. Assume there is a guard, a round bit, and a sticky bit, and use them if necessary. Write the final answer in both the 16-bit floating point format described in Exercise 3.27 and in decimal and compare the decimal result to that which you get if you use a calculator.
3.35 Calculate (3.41796875 x 10^-3 x 6.34765625 x 10^-3) x 1.05625 x 10^2 by hand, assuming each of the values are stored in the 16-bit half precision format described in Exercise 3.27 (and also described in the text). Assume 1 guard, 1 round bit, and 1 sticky bit, and round to the nearest even. Show all the steps, and write your answer in both the 16-bit floating point format and in decimal.
3.39 Calculate (1.666015625 x 10^0 x 1.9760 x 10^4) + (1.666015625 x 10^0 x -1.9744 x 10^4) by hand, assuming each of the values are stored in the 16-bit half precision format described in Exercise 3.27 (and also described in the text). Assume 1 guard, 1 round bit, and 1 sticky bit, and round to the nearest even. Show all the steps, and write your answer in both the 16-bit floating point format and in decimal.
3.41 Using the IEEE 754 floating point format, write down the bit pattern that would represent - 1/4. Can you represent - 1/4 exactly?
3.42 What do you get if you add - 1/4 to itself 4 times? What is - 1/4 x 4? Are they the same? What should they be?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
