From: Dave Love <d.love@dl.ac.uk>
To: egcs@cygnus.com
Subject: Re: That annoying dnrm2.f failure on i386
Date: Wed, 18 Feb 1998 14:54:00 -0000 [thread overview]
Message-ID: <rzqbtw4vfap.fsf@djlvig.dl.ac.uk> (raw)
In-Reply-To: <Pine.SOL.3.90.980218113529.12315K-100000@bond.informatik.rwth-aachen.de>
>>>>> "Bernd" == Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> writes:
Bernd> Unfortunately, dnrm2.f still fails. This appears to be due to
Bernd> the fact that it reads uninitialized variables.
Indeed. It's certainly wrong. I've checked in a fixed version as I
think I sent it in the first place. Apologies if the lossage was
mine.
I haven't yet been able to test the fixed version with your patch.
Bernd> Can someone who can actually parse Fortran tell me how the
Bernd> test case should be fixed?
Actually, I can't parse that stuff, and this infamous bit of BLAS was
replaced some time ago, thank heavens, but just won't die...
Many thanks for the work!
--- dnrm2.f 1997/11/19 16:20:12 1.2
+++ dnrm2.f 1998/02/18 12:00:51 1.3
@@ -15,7 +15,7 @@ C (This is actually an obsolete vers
c current Netlib BLAS.)
integer i
- double precision a(1:100)
+ double precision a(1:100), dnrm2
do i=1,100
a(i)=0.D0
enddo
@@ -26,6 +26,8 @@ c current Netlib BLAS.)
integer i, incx, ix, j, n, next
double precision dx(1), cutlo, cuthi, hitest, sum, xmax,zero,one
data zero, one /0.0d0, 1.0d0/
+ data cutlo, cuthi / 8.232d-11, 1.304d19 /
+ j = 0
if(n .gt. 0 .and. incx.gt.0) go to 10
dnrm2 = zero
next prev parent reply other threads:[~1998-02-18 14:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-18 4:16 Bernd Schmidt
1998-02-18 14:54 ` Toon Moene
1998-02-18 14:54 ` Dave Love [this message]
1998-03-29 5:14 ` Jeffrey A Law
1998-04-02 11:32 ` Toon Moene
1998-04-01 22:44 ` Jeffrey A Law
1998-04-01 23:41 ` Richard Henderson
1998-04-03 21:52 ` Jeffrey A Law
1998-04-03 21:52 ` Jim Wilson
1998-04-04 20:05 ` Richard Henderson
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=rzqbtw4vfap.fsf@djlvig.dl.ac.uk \
--to=d.love@dl.ac.uk \
--cc=egcs@cygnus.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).