https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #10 from dave.anglin at bell dot net ---
On 2015-12-29, at 5:25 PM, dave.anglin at bell dot net wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356
> 
> --- Comment #9 from dave.anglin at bell dot net ---
> On 2015-12-29, at 5:05 PM, dominiq at lps dot ens.fr wrote:
> 
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356
>> 
>> --- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
>>> You might want to double check that it's not a bug in the HP-UX libm.
>> 
>> AFAIU Joseph (comment 2) the test should be skipped on platforms defaulting 
>> to
>> -fno-math-errno as Darwin. Is it the case for HP-UX?
> 
> 
> I believe that is the case for hpux.  No errors are defined for exp2.  Man 
> page
> says:
> 
> If the correct value after rounding would be smaller in magnitude than
> MINDOUBLE, exp2() returns zero.


It looks like the lack of an ERANGE error is specific to exp2.  The other tests
pass okay,
so I think I'll do the same skip as __sun__ around exp2 and expm1 even though I
think
expm1 would pass since it supports ERANGE errors.

Dave
--
John David Anglin       dave.ang...@bell.net

Reply via email to