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: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Mar 2005 09:53:02 -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 pcarlini at suse dot de 2005-03-07 09:53 -------
>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.
I see. We are assuming the latter behavior, as per IEC 60559, F.9.1.4 of the
C99 Standard. Most current C libraries implement it, indeed. I'm afraid we
can't do much...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20352