public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Brian Gough <bjg@network-theory.co.uk>
To: "Jochen Küpper" <jochen@fhi-berlin.mpg.de>
Cc: gsl-discuss@sources.redhat.com
Subject: Re: IEEE issues with GCC on x86-linux
Date: Thu, 13 Jan 2005 17:00:00 -0000	[thread overview]
Message-ID: <16870.41215.631949.897017@network-theory.co.uk> (raw)
In-Reply-To: <9ewtuhpqes.fsf@gowron.rz-berlin.mpg.de>

Jochen Küpper writes:
 > ,----[test.c:332]
 > |     inf = exp (1.0e10);
 > `----
 > 
 > Is this expected? Any hints are appreciated.

That is expected, because the program is testing Inf/Nan and I wanted
to generate an infinity from an actual computation.  For the tests I
use mask-all.

If you would like to make the tests work without it, you could do
something like this,

#ifdef INFINITY
  inf = INFINITY;
#else
  int = exp(1.0e10);
#endif

(Similarly for NAN). This assumes that macro definitions are actually
valid....  but check ahead and see if there are other tests ( in other
directories) which generate floating point exceptions (I think there
are some in specfunc/, but maybe they can be eliminated easily).  It
would only make sense to start changing these if the whole test suite
can be tidied up to avoid them.

-- 
Brian Gough

      reply	other threads:[~2005-01-13 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-13 10:36 Jochen Küpper
2005-01-13 17:00 ` Brian Gough [this message]

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=16870.41215.631949.897017@network-theory.co.uk \
    --to=bjg@network-theory.co.uk \
    --cc=gsl-discuss@sources.redhat.com \
    --cc=jochen@fhi-berlin.mpg.de \
    /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).