|
From: Robert D. <rob...@gm...> - 2012-03-18 17:08:14
|
On 3/17/12, Ethan Merritt <merritt@u.washington.edu> wrote: > So it is annoying that the code, although paranoid about precision, > is apparently not paranoid enough. Yeah, my suggestion is to run the loop for a number of iterations determined in advance, to avoid floating point problems as much as possible. I've attached a patch -- hope it's useful. > Does it do the same thing if you compile with optimization > level -O0 ? I dunno -- it's actually somebody else's system, the bug isn't triggered on mine. best, Robert Dodier |