Prob. 3 Represent 0.8 in IEEE 754 single-precision floating point format and giv
ID: 3722977 • Letter: P
Question
Prob. 3 Represent 0.8 in IEEE 754 single-precision floating point format and give the 32-bit pattern in hex, where three guard bits are to be used in making approximation.
3.1 Use the approximation method of truncation
A. 3F4CCCCC (hex)
B. 6F4CCCCC (hex)
C. BF4CCCC9 (hex)
D. None of the above
3.2 Use the approximation method of von Neumann rounding
A. BF4CCCCE (hex)
B. 6F4CCCCD (hex)
C. 3F4CCCCD (hex)
D. None of the above
3.3 Use the approximation method of IEEE rounding
A. BF4CCCCE (hex)
B. 6F4CCCCD (hex)
C. 3F4CCCCD (hex)
D. None of the above
3.4 Determine the approximation error (in ulp) for truncation
A. -1/2 ulp
B. -3/4 ulp
C. -5/8 ulp
D. None of the above
3.5 Determine the approximation error (in ulp) for von Neumann rounding
A. 1/2 ulp
B. 1/4 ulp
C. -1/8 ulp
D. None of the above
3.6 Determine the approximation error (in ulp) for IEEE rounding
A. 1/2 ulp
B. 1/4 ulp
C. 1/8 ulp
D. None of the above
Explanation / Answer
Hi.. Please check below answers.
3.1 Use the approximation method of truncation
A. 3F4CCCCC (hex)
B. 6F4CCCCC (hex)
C. BF4CCCC9 (hex)
D. None of the above
Answer: B
6F4CCCCC (hex)
3.2 Use the approximation method of von Neumann rounding
A. BF4CCCCE (hex)
B. 6F4CCCCD (hex)
C. 3F4CCCCD (hex)
D. None of the above
Answer: A
BF4CCCCE (hex)
3.3 Use the approximation method of IEEE rounding
A. BF4CCCCE (hex)
B. 6F4CCCCD (hex)
C. 3F4CCCCD (hex)
D. None of the above
Answer: B
6F4CCCCD (hex)
3.4 Determine the approximation error (in ulp) for truncation
A. -1/2 ulp
B. -3/4 ulp
C. -5/8 ulp
D. None of the above
Answer:A
-1/2 ulp
3.5 Determine the approximation error (in ulp) for von Neumann rounding
A. 1/2 ulp
B. 1/4 ulp
C. -1/8 ulp
D. None of the above
Answer:C
-1/8 ulp
3.6 Determine the approximation error (in ulp) for IEEE rounding
A. 1/2 ulp
B. 1/4 ulp
C. 1/8 ulp
D. None of the above
Answer: B
1/4 ulp.
Please check the answers and let me know any issues. Thank you. All the best.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.