------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  
2005-03-07 01:08 -------
Subject: Re:  FAIL: 26_numerics/complex/pow.cc execution test

> > Yes, this test doesn't fail on hpux 11.  This probably implies a
> > hpux 10 math library issue.  I see the following math routines are
> > called log, atan2, exp, cos and sin in that order.
> 
> Indeed, I was thinking the very same thing. I would check first whether
> log(x) == -inf for x == 0+. Then, whether exp(-inf) == 0+.

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.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20352

Reply via email to