This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __builtin_huge_val, __builtin_inf, and std::numeric_limits


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]