Answered step by step
Verified Expert Solution
Link Copied!

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

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Calculus

Authors: Ron Larson, Bruce H. Edwards

10th Edition

1285057090, 978-1285057095

More Books

Students also viewed these Programming questions

Question

Explain the types of GSM location updating.

Answered: 1 week ago

Question

In Exercises, find the indefinite integral. 1 Jx-5 dx

Answered: 1 week ago

Question

Evaluate x and y at the given point. f(x,y) = cos(2x y), 4' 3

Answered: 1 week ago

Question

1. What does dorsal mean, and what is its oppositepg99

Answered: 1 week ago