Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started