More instantiation problems under hpux

John David Anglin dave@hiauly1.hia.nrc.ca
Wed Jan 16 12:11:00 GMT 2002


> Can you confirm that this situation exists on hpux as well (and is not
> failing the same assertion for an alternate reason)?  Here is one was
> to do it:

The test fails on type float and the value of t is Inf (0x7f80000).
The system header defines FLT_MAX as (float)3.40282347e+38.  Putting
this in a little C program I find that this converts to the hex value
0x7f7fffff.  This is correct.  So, why isn't the fail bit set?

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