This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/20352] FAIL: 26_numerics/complex/pow.cc execution test


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]