Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Assume we are using the simple model for floating-point representation as given in the textbook (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15, a normalized significand of 8 bits, and one bit for the sign of the number).
a) Find the representations of 0.24 and 0.12 in this floating-point format. Show your work including the multiplication algorithm to convert the given fractional numbers to binary.
b) What are the absolute and relative errors in computing 0.24+0.12 (i.e., add the numbers using the floating-point addition algorithm and compare with the expected result of 0.36).

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

118. If X is uniformly distributed on [1, 1], find the pdf of .

Answered: 1 week ago

Question

Is SHRD compatible with individual career aspirations

Answered: 1 week ago