__builtin_huge_val, __builtin_inf, and std::numeric_limits

Richard Henderson rth@redhat.com
Thu Sep 5 11:15:00 GMT 2002


On Thu, Sep 05, 2002 at 01:27:57AM +0200, Gabriel Dos Reis wrote:
> What do you mean by "worked like I want"?

__builtin_huge_val does not warn, __builtin_inf does.

> Does it trigger a
> diagnostic for numeric_limits<float>::infinity() when
> numeric_limits<float>::has_infinity is false?

No.  


r~



More information about the Libstdc++ mailing list