Stupid is as Stupid Does: Taking the Square Root of the Square of a Floating-Point Number
Electronic Notes in Theoretical Computer Science, Volume 317, 2015.
Floating-point experts know that mathematical formulas may fail or give imprecise results when implemented in floating-point arithmetic. This article describes an example where, surprisingly, it is absolutely not the case. Indeed, using radix 2 and an unbounded exponent range, the computation of the square root of the square of a floating...More
Full Text (Upload PDF)
PPT (Upload PPT)