Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Databases In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

More Books

Students also viewed these Databases questions