Question: Question 1 . 1 8 . ( Hard ) Suppose that a and b are normalized IEEE double precision floating point numbers, and consider the

Question 1.18.(Hard) Suppose that a and b are normalized IEEE double precision floating point numbers, and consider the following algorithm, running with IEEE arithmetic:
)(|b|
Prove the following facts:
Barring overflow or underflow, the only roundoff error committed in running the algorithm is computing s1=fl(a+b). In other words, both subtractions s1-a and (s1-a)-b are computed exactly.
s1+s2=a+b, exactly. This means that s2 is actually the roundoff error committed when rounding the exact value of a+b to get s1.
Question 1 . 1 8 . ( Hard ) Suppose that a and b

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 Programming Questions!