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.

Cited by: 7|Bibtex|Views2|Links
EI

Abstract:

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

Code:

Data:

Your rating :
0

 

Tags
Comments