Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jarkko Hietaniemi <jhi@alpha.hut.fi>
Subject: Re: Inaccurate logarithm in Pascal
Date: 1999/03/24	[thread overview]
Message-ID: <oeeu2vbf475.fsf@alpha.hut.fi> (raw)
In-Reply-To: 7dad0r$cha$1@news.net.uni-c.dk


"Morten Skaarup Jensen" <morten@nospam.org> writes:
> in my case I have a sum of a lot of positive and negative numbers
> that almost cancel each other out.

From numerical accuracy viewpoint that sounds intrinsically very
dangerous, no matter what the language or the operating system.
Are you certain you cannot reorder the computation so that you
could avoid this "close shave"?

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen



      parent reply	other threads:[~1999-03-24  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-23  5:00 Inaccurate logarithm in Pascal Morten Skaarup Jensen
1999-03-23  5:00 ` Steve Lionel
1999-03-24  5:00   ` Morten Skaarup Jensen
1999-03-24  5:00     ` John R. Reagan
1999-03-24  5:00       ` Morten Skaarup Jensen
1999-03-24  5:00     ` Steve Lionel
1999-03-24  5:00     ` Paul A Sand
1999-03-24  5:00     ` Jarkko Hietaniemi [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox