Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I would like a step by step explanation as to how the 7-bit floating point representations from Format A were converted to Format B. Thanks.

I would like a step by step explanation as to how the 7-bit floating point representations from Format A were converted to Format B. Thanks.

Consider the following two 7-bit floating point representations based on the IEEE floating point format. Neither has a sign bit - they can only represent non-negative numbers.

i). Format A.

There are k=3 exponent bits. The exponent bias is 3.

There are n=4 fraction bits.

ii). Format B.

There are k=4 exponent bits. The exponent bias is 7.

There are n=3 fraction bits.

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 necessary, you should apply the round-to-even rounding rule. 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., 17/64 or 17/2).

Format A Format B

Bits Value Bits Value
011 0000 1 0111 000 1
101 1110 15/2 1001 111 15/2
010 1001 25/32 0110 100 3/4 (Round down)
110 1111 31/2 1011 000 16 (Round up)
000 0001 1/64 0001 000 1/64 (Denormalize -> normalized)

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

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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

23.. What are the advantages of using a client/server approach?

Answered: 1 week ago

Question

=+14. We are doing better in both overall sales and in profits.

Answered: 1 week ago