Skip to contentSkip to conversation

AIM Independent Resource Benchmark results for kernel-2.5.44

BENCHMARK Cliff White 1 participant 1 message Oct 29, 2002 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 24 lines · Jakob Oestergaard
Quoted 8 lines · Nathan Straz
Quoted 7 lines
Quoted 6 lines

The AIM7/AIM9 new_raph is broken code. The convergence loop termination conditional looks something like:

   if (delta == 0) break;
for a type "double" delta.  You ought to change that to be something
like:
   if (delta <= 0.00000001L) break;
Quoted 5 lines
Quoted 2 lines

I usually specify the compiler flag -ffloat-store and that fixes the issue for me.

Maybe that will work as a work-around. But it is nothing but a work-around. The previous poster was right - the code is broken.

/me looks at the code

	/*
	 * Step 4: if |p - p0| < TOL then terminate successfully
	 */
	delta = fabs(p - p0);
	if (delta == 0.0)
		break;
Quoted 6 lines

Ok, I'll admit that the code does look broken, especially with regard to the comment *in* the code.

Is anyone from Caldera still maintaining this code or shall I create a CVS module as part of LTP?

The OSDL is interested in this supporting this test also. Appreciate the fix.
cliffw
www.osdl.org

Quoted 10 lines
Signature · 8 lines
Nate Straz                                              [email protected]
sgi, inc                                           http://www.sgi.com/
Linux Test Project                                  http://ltp.sf.net/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/