public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gerard Jungman <jungman@lanl.gov>
To: egcs@cygnus.com
Cc: gsl-discuss@sources.redhat.com
Subject: Re: make check error
Date: Mon, 06 Nov 2000 12:06:00 -0000	[thread overview]
Message-ID: <3A070F68.27D4142F@lanl.gov> (raw)
In-Reply-To: <Pine.LNX.4.21.0011041625160.9117-100000@millenia.cars.aps.anl.gov>

Matt Newville wrote:
>
> I may be missing the point of checking whether DBL_MIN*DBL_MIN
> is Underflow or 0.  It all seems a little pedantic to me.

Well, you know how it is, the illusion of robustness
and correctness, etc.

This discussion brings up a very important point which
should have been discussed but has thus far managed
to stay hidden. I have discussed this with Brian, but
either we have never come to a conclusion or I don't
understand the conclusion. The question is:

  What are we supposed to assume about
  the underlying arithmetic?

At various times I have been ready to assume
full (or sufficient anyway) IEEE conformance.
But then there is always some vacillation based
on the fear that people might be using this stuff
on some weird embedded DSP project or something,
with no IEEE safety net.

So, how many people are working on or worried that
they might someday work on a platform w/o IEEE 754?
This is really important to know.

I would like to fix this problem, but it's
time to absolutely firm up the boundary conditions
for this sort of thing, so I don't just wander
off in another random direction.

The requirements for gsl_sf_multiply_impl(),
as I see them:

  1. Must have GSL semantics for error reporting.
  2. Must provide error estimate, to conform to
     the other functions in this directory. 
  3. Must provide a valid result and error
     estimate when reporting success.

The current implementation does not (I think
this is, strictly speaking, a lie) depend on IEEE 754.
I would be happy to make one that does; the
current code is frankly kind of embarrassing,
but I didn't know what else to do w/o IEEE.

We could provide both, if absolutely needed,
and ifdef the right in at compile time. Yuck.
I wonder how many inconsistencies we would
miss if we really tried to go back and clean
this up?

-- 
G. Jungman
(Chief GSL Pedant and Multiplier of Numbers)

  reply	other threads:[~2000-11-06 12:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-04  7:22 Andrej Prsa
2000-11-04  9:37 ` Dirk Eddelbuettel
2000-11-04 12:10 ` Brian Gough
2000-11-06  7:38   ` Matt Newville
2000-11-06 12:06     ` Gerard Jungman [this message]
2000-11-07  1:19     ` Brian Gough
2000-11-07  9:06       ` Matt Newville
     [not found]     ` <15282295@toto.iv>
2000-11-07 13:04       ` Brian Gough
2000-11-07 13:22         ` make check error (IEEE ...?) Gerard Jungman
2000-11-09  6:42           ` Brian Gough
     [not found]   ` <6040367@toto.iv>
2000-11-07 13:04     ` make check error Brian Gough
2000-11-07 14:03       ` make check error (RH7.0 /gcc2.96) Matt Newville
2000-11-09  1:45         ` Brian Gough

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=3A070F68.27D4142F@lanl.gov \
    --to=jungman@lanl.gov \
    --cc=egcs@cygnus.com \
    --cc=gsl-discuss@sources.redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).