This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/20352] FAIL: 26_numerics/complex/pow.cc execution test
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Mar 2005 02:04:13 -0000
- Subject: [Bug libstdc++/20352] FAIL: 26_numerics/complex/pow.cc execution test
- References: <20050306224922.20352.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2005-03-07 02:04 -------
Subject: Re: FAIL: 26_numerics/complex/pow.cc execution test
> The only other tricky bit of the computation seems atan2(0.0, 0.0)
> which should be also zero, of course.
This is the problem. From the HP-UX 10 manpage
If both x and y are zero, atan2() returns NaN.
The behavior changed in HP-UX 11
If both x and y are zero, atan2() returns zero.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20352