Mark Yourself Question
A dot product is evaluated as s = a1b1 + a2b2 + a3b3. State (a) one source of rounding error in this computation, (b) why adding terms of very different magnitudes can lose information, and (c) one practical way to reduce observed roundoff without claiming to solve conditioning.
Unlock full course notes by signing up
Floating Point Arithmetic: difficulty 4
A binary format has a largest finite positive value of 3.4 × 1038 and a smallest positive normalized value of 1.2 × 10-38. Classify each computed magnitude: (a) 8.0 × 1039; (b) 4.0 × 10-40.