Question: Consider the following two 16-bit floating-point representations 1. Format A There is one sign bit. There are k = 6 exponent bits. The exponent bias

Consider the following two 16-bit floating-point representations 1. Format A

There is one sign bit.

There are k = 6 exponent bits. The exponent bias is 31.

There are n = 9 fraction bits.

2. Format B

There is one sign bit.

There are k = 5 exponent bits. The exponent bias is 15.

There are n = 10 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 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., 17/64 or 17/26).

Format A Format B
Bits Value Bits Value
0 100001 110100000 29/4 0 10001 1101000000 29/4
1 000000 011100100

0 100111 100000000

0 100001 000100000

1 011000 111100000

0 000000 001011100

1 010101 110000000

0 100111 000001010

0 100101 100100011

0 111111 000000010

Give the decimal equivalent to the largest and smallest magnitude normalized number that can be represented in format A and the decimal equivalent to the largest and smallest magnitude normalized number that can be represented in format B.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!