Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. (6 points) Assume we are using a simple model for floating-point representation similar to the one used in Chapter 2 of the textbook which

image text in transcribed
5. (6 points) Assume we are using a simple model for floating-point representation similar to the one used in Chapter 2 of the textbook which has a 14-bit format, 5 bits for the exponent with a bias of 15 (not 16 as in the textbook), a normalized mantissa of 8 bits, and a single sign bit. (a) Show how the computer would represent the numbers 101.0 and 0.125 using this representation. (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 floating point 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: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions

Question

GSE's

Answered: 1 week ago