Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2 . ( 1 2 points ) : Data representation. Consider the following two 9 - bit floating point representations based on the IEEE

Problem 2.(12 points):
Data representation. Consider the following two 9-bit floating point representations based on the IEEE
floating point format.
Format A
There is one sign bit.
There are k=5 exponent bits. The exponent bias is 15.
There are n=3 fraction bits.
Format B
There is one sign bit.
There are k=4 exponent bits. The exponent bias is 7.
There are n=4 fraction bits.
Numeric values are encoded in both of these formats as a value of the form V=(-1)SM2E, where
S is the sign bit, E is exponent after biasing, and M is the significand value. The fraction bits encode the
significand value M using either a denormalized (exponent field 0) or a normalized representation (exponent
field nonzero).
Below, you are given some bit patterns in Format A, and your task is to convert them to the closest value in
Format B. If rounding is necessary you should round toward +. In addition, give the values of numbers
given by the Format A and Format B bit patterns. Give these as whole numbers (e.g.,17) or as fractions
(e.g.,1764 or 1726).
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

What is its position?

Answered: 1 week ago

Question

=+2 Why did OBI create Centers of Excellence?

Answered: 1 week ago