[Haskell-cafe] rounding errors with real numbers.
Henning Thielemann
lemming at henning-thielemann.de
Fri Mar 3 09:19:44 EST 2006
On Fri, 3 Mar 2006, Matthias Fischmann wrote:
> 1 + epsilon - 1 == epsilon, which is zero except for a very small
> rounding error somewhere deep in the e-minus-somethings. how is the
> error getting worse than that, for which numbers?
I meant the relative error. epsilon should be the result, but the computer
says 0, so the absolute error is epsilon and the relative error is 1, that
is the number of reliable digits in the mantissa of the result is 0.
More information about the Haskell-Cafe
mailing list