Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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