[cfp-interest 3652] Re: SNAN* in math.h

Paul Zimmermann Paul.Zimmermann at inria.fr
Mon Oct 13 01:12:29 PDT 2025


       Hi Jim,

here is the answer from the glibc developers:

https://sourceware.org/pipermail/libc-alpha/2025-October/170966.html

As I understand, this is for compatibility with non-C23.

Paul

> From: Jim Thomas <jaswthomas at sbcglobal.net>
> Date: Fri, 10 Oct 2025 11:21:32 -0700
> Cc: CFP <cfp-interest at ucbtest.org>
> 
> Fred,
> 
> Did gcc/glibc not notice the change? Might the macros be in both places to support existing code? Are you suggesting CFP propose adding something in C2Y Annex M? 
> 
> - Jim Thomas
> 
> 
> > On Oct 9, 2025, at 6:41 PM, Fred J. Tydeman <tydeman at tybor.com> wrote:
> > 
> > gcc/glibc still have the SNAN* macros in math.h
> > as well as the *SNAN macros in float.h
> > 
> > WG14 / N2476 is the document that moved and renamed them.
> > 
> > Should we have a new document (or an update to an existing document)
> > saying that the SNAN* forms are gone?
> > 
> > 
> > 
> > ---
> > Fred J. Tydeman        Tydeman Consulting
> > tydeman at tybor.com      Testing, numerics, programming
> > +1 (702) 608-6093      Vice-chair of INCITS/C (ANSI "C")
> > Sample C17+FPCE tests: http://www.tybor.com
> > Savers sleep well, investors eat well, spenders work forever.
> > 
> > _______________________________________________
> > cfp-interest mailing list
> > cfp-interest at oakapple.net
> > http://mailman.oakapple.net/mailman/listinfo/cfp-interest
> 
> 
> _______________________________________________
> cfp-interest mailing list
> cfp-interest at oakapple.net
> http://mailman.oakapple.net/mailman/listinfo/cfp-interest


More information about the cfp-interest mailing list