Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (15 points) Consider a 8-bit float point format with 1 sign bit, followed by 3 exponent bits Q, and then 4 precision bits P.
1. (15 points) Consider a 8-bit float point format with 1 sign bit, followed by 3 exponent bits Q, and then 4 precision bits P. The bias in the exponent b=3. If Q=0, then integer part of P is 0 , otherwise the integer part of P is 1 . If Q=(111)2, then the value means either infinity or not a number. We do not cconsider this case here. You must justify your answers fo rthe following questions. (a) (2 points) What is the range of values that such a float point value can represent (not including infinity and not a number)? (b) (2 points) What is the smallest positive value that it holds? (c) (5 points) What is the binary representation of 0.3, and what is the rounding error? (d) (6 points) If x holds 0.3, and y holds 2.0, what is the rounding error for x+y
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