Question: In certain situations, you can be sure that a + b is exactly representable as a floating-point number, that is, no rounding is necessary. a.
In certain situations, you can be sure that a + b is exactly representable as a floating-point number, that is, no rounding is necessary.
a. Give an example where the exponents differ by 1, a and b have different signs, and a + b is not exact.
b. If a b 0, and the top two bits of a cancel when computing a b, explain why the result is exact.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
