Revision of SRFI 70 available Michael Sperber (18 Jul 2005 11:58 UTC)
Re: Revision of SRFI 70 available bear (18 Jul 2005 15:50 UTC)
inexactness vs. exactness Aubrey Jaffer (18 Jul 2005 23:57 UTC)
Re: inexactness vs. exactness bear (19 Jul 2005 02:31 UTC)
Re: inexactness vs. exactness Aubrey Jaffer (21 Jul 2005 17:01 UTC)
Re: inexactness vs. exactness bear (22 Jul 2005 00:22 UTC)
Re: inexactness vs. exactness Aubrey Jaffer (22 Jul 2005 16:01 UTC)
Re: inexactness vs. exactness bear (22 Jul 2005 16:21 UTC)
Re: inexactness vs. exactness Alan Watson (22 Jul 2005 18:21 UTC)
Re: inexactness vs. exactness Aubrey Jaffer (25 Jul 2005 03:38 UTC)
Re: inexactness vs. exactness bear (27 Jul 2005 16:03 UTC)

Re: inexactness vs. exactness bear 27 Jul 2005 16:02 UTC


On Sun, 24 Jul 2005, Aubrey Jaffer wrote:

> I had been interpreting this as applying to single operations; but, as
> Bear points out, the text could as well apply to composite
> calculations (in a compiled Scheme implementation).

Right.  And even if all single operations are within 1 ULP,
given a finite representation, composite operations cannot
be within 1 ULP in general.

> Changing the text to specify that "close as practical" applies to
> single procedure calls would allow positive ULP implementations to
> conform because the arithmetic operations are accurate and it would be
> impractical to bypass the other operations provided on many platforms.

> Implementations would not be prevented from optimizing mathematical
> expressions so long as the composite accuracy was as good or better
> than the procedure-wise "close as practical" accuracy.

> | Bear's suggestion that inexact numbers are simply results that
> | might be wrong would make no similar restriction on the accuracy of
> | these functions.

> | Do you agree with these conclusions?

>Changing the situation from "the result is probably wrong" to "the
>result is within n ULPs" would be a great improvement.  Does the
>procedure-wise-close-as-practical idea accomplish this?

Not unless you express N in terms of the number of
primitive operations in your composite operations, and
limit the composite operations to those that don't involve
what the Numerical Recipes book calls "catastrophic
roundoff."  Even so, I think N would vary with the
square of the number of multiplications.

				Bear