More instantiation problems under hpux

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Jan 17 11:01:00 GMT 2002


> > My current patch uses finitef, if available and finite otherwise.
> > Does hpux have finitef and/or finite ?
> 
> It has both.

I spoke too soon.  HPUX 10.20 has them.  HPUX 11 doesn't have them.
It has the isfinite macro which accepts both floats and doubles. 
The underlying calls to check whether a double or float is finite
are _Isfinite and _Isfinitef, respectively.

HPUX 11 also has isinf.  It is also a macro like isfinite.
The configure check for isinf doesn't include math.h.  As a result,
it doesn't find isinf.

The patch doesn't fix the FAIL on hpux 11 because of these problems.

I also noticed that config.h says that hpux 11 doesn't have the expf
function but it does.  I can't see any check for expf in configure,
so how did the config result end up in config.h?

The following are macros on hpux 11:
isnan, isinf, signbit, isfinite, isnormal, fpclassify, isunordered,
isgreater, isgreaterequal, isless, islessequal, islessgreater.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Libstdc++ mailing list