Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2. Assume we are using the simple model for floating-point representation as given in this book (the representation uses a 14-bit format, 5 bits for

image text in transcribed
Q2. Assume we are using the simple model for floating-point representation as given in this book (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15 , a normalized mantissa of 8 bits, and a single sign bit for the number): (a) Show how the computer would represent the numbers 100.0 and 0.25 using this floatingpoint format. (b) Show how the computer would add the two floating-point numbers in part a by changing one of the numbers so they are both expressed using the same power of 2 . (c) Show how the computer would represent the sum in part b using the given floatingpoint representation. What decimal value for the sum is the computer actually storing? Explain

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

What did they do? What did they say?

Answered: 1 week ago