Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 5 points ) [ Float Point Design ] In a hypothetical 5 - bit floating point format, 3 leading bits are used for exponent,

25 points)[Float Point Design] In a hypothetical 5-bit floating point format, 3 leading bits
are used for exponent, E, in two's compliment format and the two remaining bits are for the
fraction F, where the number is determined using x =1.F x 2E. Answer the following
questions:
(a) What is the decimal value of the five bits set to 01101?
(b) What is the decimal value of the five bits set to 10010?
(c) What is the range of this format?
(d) How would a 7 get represented in these five bits?
(e) How would 0.375 get represented?
(f) How many distinct numbers can be represented in this format?
2.(15 points)[Float Point Design] From problem 1, if we change how a number is determined
using the following functions, what is the new range, and how many distinct numbers can be
represented?
(a) x = F.0 x 2E.(b) x =0.F x 2E.(c) x = F.1 x 2E.
3.(24 points)[IEEE-754] Determine the floating-point representation in IEEE-754 format of
the following numbers:
(a)-101.4
(b)2.5 x 10-3
(c)1.001 x 2-142
(d)0.001 x 2-146
4.(12 points)[IEEE-754 Arithmetic] Add the following two IEEE-754 formatted numbers
together and report the results in the same format?
(a) a =3f200000, b = be600000
(b) a =3f200000, b = ff800000
(c) a =01100000, b =80e00000
(d) a =3f200000, b =80e00000
5.(12 points)[IEEE-754 Arithmetic] Multiply the IEEE-754 formatted numbers from previous
problem 4 together and report the results in the same format?
6.(12 points)[IEEE-754 Arithmetic] Divide the IEEE-754 formatted numbers from previous
problem 4 in the form a / b and report the results in the same format?

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

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions