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: Patch for PR 14635 (regression: nan not in C90)


On Fri, Mar 19, 2004 at 01:56:29AM +0000, Joseph S. Myers wrote:
> It is a feature for __builtin_nan(whatever) to expand to a constant
> expression, so __builtin_nanf can be used to define NAN, but a bug for (a
> function call) nan(whatever) to do so.

Ah yes.  Agreed wrt further changes to support nan as a "normal" function.


r~


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