Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. [20 marks] Luffy is a CPSC 121 student and he decided to propose the following scheme for representing floating point numbers using 12
3. [20 marks] Luffy is a CPSC 121 student and he decided to propose the following scheme for representing floating point numbers using 12 bits. The leftmost 8 bits will be the signed binary integer x representing the decimal digits that will form the components to both the left and right of the decimal point; the rightmost 4 bits will be a signed binary integer y representing the exponent of 10 by which will be multiplied to produce the final floating point value. Assume that signed integers are encoded using two's-complement. For example, the number -14.35 would have x = -1435 and y -2. a. [5 marks] What is the largest value representable using this scheme? b. [5 marks] scheme? c. [5 marks] scheme? What is the smallest positive (non-zero) value representable using this What's the smallest (i.e., most negative) value representable using this d. [5 marks] Give a number smaller than your answer for item 3a and larger than your answer for item 3c that has 2 digits after the decimal point and it is not representable using this scheme.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
a To find the largest value representable using this scheme we need to consider the maximum value fo...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