public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: fortran/8587: (double complex zero)**(double prec number) = NAN instead of zero
@ 2002-11-24 10:58 toon
0 siblings, 0 replies; 3+ messages in thread
From: toon @ 2002-11-24 10:58 UTC (permalink / raw)
To: aganse, gcc-bugs, gcc-prs, nobody, toon
Synopsis: (double complex zero)**(double prec number) = NAN instead of zero
Responsible-Changed-From-To: unassigned->toon
Responsible-Changed-By: toon
Responsible-Changed-When: Mon Nov 18 14:14:54 2002
Responsible-Changed-Why:
Fortran Maintainer.
State-Changed-From-To: open->analyzed
State-Changed-By: toon
State-Changed-When: Mon Nov 18 14:14:54 2002
State-Changed-Why:
Also fails on Debian 3.0+ (testing) using 3.2 prerelease
on powerpc-unknown-linux-gnu
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8587
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: fortran/8587: (double complex zero)**(double prec number) = NAN instead of zero
@ 2002-11-27 7:31 toon
0 siblings, 0 replies; 3+ messages in thread
From: toon @ 2002-11-27 7:31 UTC (permalink / raw)
To: aganse, gcc-bugs, gcc-prs, toon
Synopsis: (double complex zero)**(double prec number) = NAN instead of zero
State-Changed-From-To: analyzed->closed
State-Changed-By: toon
State-Changed-When: Tue Nov 19 15:25:10 2002
State-Changed-Why:
Fixed for GCC/g77-3.3
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8587
^ permalink raw reply [flat|nested] 3+ messages in thread
* fortran/8587: (double complex zero)**(double prec number) = NAN instead of zero
@ 2002-11-21 5:22 aganse
0 siblings, 0 replies; 3+ messages in thread
From: aganse @ 2002-11-21 5:22 UTC (permalink / raw)
To: gcc-gnats
>Number: 8587
>Category: fortran
>Synopsis: (double complex zero)**(double prec number) = NAN instead of zero
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 14 17:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Andy Ganse, Applied Physics Laboratory, Seattle
>Release: GNU Fortran 0.5.26 20000731 (Red Hat Linux 7.2 2.96-112.7.2) and also GNU Fortran 0.5.25 19991024
>Organization:
>Environment:
GNU Fortran 0.5.26 20000731 on RedHat i386/7.3 on athlon
GNU Fortran 0.5.25 19991024 on SunOS 5.8 on Sun-Blade-1000
>Description:
There are a couple situations (produced in the small attached test source file) when a double complex variable set to zero, and raised to the power of another variable, is not equaling zero - it's coming out as NAN instead. This all works fine in Sun F77 if that's useful for comparison...
The case where a double complex variable equaling zero is raised to a real (as opposed to double precision) constant works here but is producing slightly off values in our program when the double complex variable does not equal zero.
>How-To-Repeat:
compile and run the attached dprec.f
>Fix:
?
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="dprec.f"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="dprec.f"
CiAgICAgIGRvdWJsZSBjb21wbGV4IGRjMSwgZGMyLCBkYzMsIGRjNCwgZGM1LCBkYzYKICAgICAg
ZG91YmxlIHByZWNpc2lvbiBkMSwgZDIKICAgICAgcmVhbCByMQogICAgICBkYzE9ZGNtcGx4KDAu
ZDAsMC5kMCkKICAgICAgZDE9MgogICAgICBkMj0yLmQwCiAgICAgIHIxPTIKICAgICAgZGMyPWRj
MSoqZDEKICAgICAgZGMzPWRjMSoqZDIKICAgICAgZGM0PWRjMSoqcjEKICAgICAgZGM1PWRjMSoq
MgogICAgICBkYzY9ZGMxKioyLmQwCiAgICAgIHByaW50ICosIGRjMSwgZGMyLCBkYzMsIGRjNCwg
ZGM1LCBkYzYKCmMgICAgIGlzIHByb2R1Y2luZzoKYyAgICAgKDAuLDAuKSAoTkFOLE5BTikgKE5B
TixOQU4pIChOQU4sTkFOKSAoMC4sMC4pIChOQU4sTkFOKQpjICAgICBpbnN0ZWFkIG9mOgpjICAg
ICAoMC4sMC4pICgwLiwwLikgKDAuLDAuKSAoMC4sMC4pICgwLiwwLikgKDAuLDAuKQoKICAgICAg
ZW5kIAo=
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-19 23:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-24 10:58 fortran/8587: (double complex zero)**(double prec number) = NAN instead of zero toon
-- strict thread matches above, loose matches on Subject: below --
2002-11-27 7:31 toon
2002-11-21 5:22 aganse
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).