From: Nathan Straz <nstraz@sgi.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [BENCHMARK] AIM Independent Resource Benchmark results for kernel-2.5.44
Date: Tue, 29 Oct 2002 09:28:00 -0600 [thread overview]
Message-ID: <20021029152800.GB2030@sgi.com> (raw)
In-Reply-To: <20021028231738.GC15779@unthought.net>
On Tue, Oct 29, 2002 at 12:17:38AM +0100, Jakob Oestergaard wrote:
> On Mon, Oct 28, 2002 at 12:28:39PM -0600, Nathan Straz wrote:
> > > 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;
> >
> > 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;
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?
--
Nate Straz nstraz@sgi.com
sgi, inc http://www.sgi.com/
Linux Test Project http://ltp.sf.net/
next prev parent reply other threads:[~2002-10-29 15:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.d95885v.1d14t8c@ifi.uio.no>
2002-10-26 0:12 ` [BENCHMARK] AIM Independent Resource Benchmark results for kernel-2.5.44 John Hawkes
2002-10-28 18:28 ` Nathan Straz
2002-10-28 23:17 ` Jakob Oestergaard
2002-10-29 15:28 ` Nathan Straz [this message]
2002-10-29 16:24 ` Cliff White
[not found] <fa.e2emdkv.j1ksaf@ifi.uio.no>
[not found] ` <fa.f6uq3iv.232305@ifi.uio.no>
2002-10-29 20:06 ` John Hawkes
2002-10-29 20:46 ` Timothy D. Witham
2002-10-23 7:15 Siva Koti Reddy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021029152800.GB2030@sgi.com \
--to=nstraz@sgi.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox