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: V3 PATCH: numeric_limits<> support, fix PR/3865


Richard Henderson <rth@redhat.com> writes:

| The difference, from my perspective, is that the constant
| that the user uses with __builtin_nan can affect the quiet
| bit, whereas with __builtin_qnan it cannot.

Agreed.  This would follow, in some sense, C99 default (which is to
treat formally only QNaNs).

-- Gaby


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