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


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