2. [6 marks] Half-Precision Floating-Point Suppose there was a floating-point co
ID: 3596495 • Letter: 2
Question
2. [6 marks] Half-Precision Floating-Point Suppose there was a floating-point code that fit in 16 bits, with 1 bit for the sign, 6 bits for the exponent and 9 bits for the significand. 1 6 9 sign exponent significand
Answer the following questions. Be sure to justify your answers
. (a) [1 mark] What is the range of normalized exponents?
(b) [1 mark] Excluding +, and NaN, how many different values can be encoded?
(c) [1 mark] What is the median value of the code?
(d) [1 mark] What is the range of positive denormalized values?
(e) [1 mark] What is the range of positive normalized values? (f) [1 mark] What is the median of the positive normalized values?
(g) [1 BONUS mark] What is the median of the positive values?
6 sign nent significandExplanation / Answer
A) since number is 6 bit
so range is 0-63
B) since number is 15 bit
so range is 131064
C) median will be 32767
D) range is 65535
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.