Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer question c d e Answer for part a and b Question 3: An Imaginary Floating Point number representation system (16 points) Suppose you

image text in transcribed
Please answer question c d e
Answer for part a and b image text in transcribed
Question 3: An Imaginary Floating Point number representation system (16 points) Suppose you are asked to design a 16-bit floating point number system that works in a similar way as the IEEE754 standard. Assume the system uses 1 bit for the sign, x bit(s) for the exponent and all the remaining bits (out of the 16 bits) for the significand. Note 1. This representation has normalized, de-normalized and special cases as you have seen in IEEE754 standard. 2. The representable range of the system should be big enough to cover the interval [-65504.00, +32800.00). Answer the questions below: a) What is the minimum number of bits needed for the exponent? What is the value of the corresponding bias? Show your steps clearly otherwise no mark will be given. (6 points) b) Show the representation of +1376(10) with this system. Show your steps clearly, otherwise marks will be deducted. (2 points) c) Show the representation of the negative infinity with this system. Show your steps clearly, otherwise marks will be deducted. (2 points) d) Calculate the least positive number that can be represented, show the value in decimal format. Show your steps clearly, otherwise marks will be deducted. (4 points) e) Can the number -832.375(10) be represented precisely by the system? The answer "Yes" or "No" alone will get you no mark. You need to justify your answer with clear calculation steps. (2 points) ANSWER: The binary representation of 65504 = 1111111111100000 which can also be written as 1.1111111111* 215. The binary representation of 32800 = 1000000000100000 which can also be written as 1.0000000001* 215. 1) Number of bits required to store decimal value (unbiased exponent value) 16 is 4. The bias value is 15. Hence, the total number of bits required = 5. 2) Binary representation of 1376 = 10101100000 Sign bit = 0 since the number is positive. Normalizing 10101100000, we get 10101100000 = 1.01011 * 210 Biased exponent value = 10 + 15 = 25 = 110012 And the significand bits are 0101100000. Hence, the floating point number is: 0 11001 0101100000

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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_2

Step: 3

blur-text-image_3

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

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago