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 01:31:33 -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 01:31 -------
Subject: Re: FAIL: 26_numerics/complex/pow.cc execution test
> We have log(x) == -inf for x == 0+. The exp call is returning 0+
> but the argument isn't -inf. It's -5.9923104495410517e+307. -inf
> is -1.7976931348623157e+308.
Sorry, log(x) == -HUGE_VALUE for x == 0+, not -INFINITY. This is
also the documented behavior for hpux11. The HP log function doesn't
set ERANGE when x is 0.
SUSV2 also specifies -HUGE_VALE and that ERANGE "may be" set.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20352