2 ms·
We don't compute the exact sum, we just need enough precision to ignore the double rounding. The most pathological cases are therefore either: - the product is
by lifthrasiir 8y ago
We don't compute the exact sum, we just need enough precision to ignore the double rounding. The most pathological cases are therefore either:
- the product is just above the ULP of the addend, or
- the addend is just above half the ULP of the product.
I'm not sure about the latter (the possible bit patterns of the product are constrained) but the former clearly requires 3 times the original precision, and beyond that there is no possibility of double rounding. The same thing can be said for the latter.
Of course all these points are moot when it is known that rounding-to-odd can be used to avoid error recovery at all.