From: Brian Gough <bjg@network-theory.co.uk>
To: Reinhold Bader <Reinhold.Bader@lrz-muenchen.de>
Cc: gsl-discuss@sources.redhat.com
Subject: Re: GSL on Hitachi SR8000
Date: Mon, 26 Aug 2002 02:39:00 -0000 [thread overview]
Message-ID: <15721.63261.971498.954425@debian> (raw)
In-Reply-To: <3D67C620.4050306@lrz.de>
Reinhold Bader writes:
> printf("failure of range for i=%d: %20.16f %20.16f\n",i,h->range[i],abs(h->range[i] - hh->range[i]));
abs() returns an integer value, hence the strange floating point value
O(1e-318).
Try this instead:
printf("failure i=%d: %.19e %.19e %.19e\n",i,h->range[i], hh->range[i], hh->range[i] - h->range[i])
next prev parent reply other threads:[~2002-08-26 9:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-23 2:32 Reinhold Bader
2002-08-24 3:11 ` Brian Gough
2002-08-24 10:44 ` Reinhold Bader
2002-08-24 11:08 ` Jochen Küpper
2002-08-25 0:11 ` Reinhold Bader
2002-08-26 2:39 ` Brian Gough [this message]
2002-08-26 5:27 ` Reinhold Bader
2002-08-26 6:23 ` 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=15721.63261.971498.954425@debian \
--to=bjg@network-theory.co.uk \
--cc=Reinhold.Bader@lrz-muenchen.de \
--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).