Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!