From: "Jakob Oestergaard" <jakob@unthought.net>
...[snip]...
> The correct way to terminate that loop is, like was already suggested,
> doing a comparison to see if the residual is "numerically zero" or
> "sufficiently zero-ish for the given purpose". Eg. "delta < 1E-12" or
> eventually "fabs(delta) < 1E-12".
Tim Witham at the OSDL told me that he ran some experiments with
different convergent deltas:
zero Rate (ops/sec) Iteration Rate
10-6 331,300 1656.5
10-8 315,049 1575.0
10-10 302,000 1510.0
10-12 292,300 1461.5
10-14 285,400 1427.0
Anything smaller than 10-14 didn't converge.
-- John Hawkes- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:44 EST