[Cfp-interest 1864] Re: SNAN <math.h>

Jim Thomas jaswthomas at sbcglobal.net
Thu Nov 26 09:50:10 PST 2020


Alll the SNAN macros are in <float.h> now, and the suffixes have been (or are being) changed to <float.h> style prefixes. So F.2.1 should say

The FLT_SNAN, DBL_SNAN, and LDBL_SNAN macros in <float.h> provide designations for IEC 60559 signaling NaNs.

Note that F.1 #4 says

For the purpose of specifying these conformance requirements, the macros, functions, and values mentioned in the subclauses listed above are understood to refer to the corresponding macros, functions, and values for decimal floating types.

so it would not be appropriate to add statements about specific decimal macros here.

- Jim Thomas

> On Nov 25, 2020, at 9:22 AM, Fred J. Tydeman <tydeman at tybor.com> wrote:
> 
> C23 F.2.1 has
> 
>  The SNANF, SNAN, and SNANL macros in <math.h> provide designations
>  for IEC 60559 signaling NaNs.
> 
> I assume that should be changed to <float.h>
> And should the DEC32_SNAN... also be mentioned.
> 
> ---
> Fred J. Tydeman        Tydeman Consulting
> tydeman at tybor.com      Testing, numerics, programming
> +1 (702) 608-6093      Vice-chair of PL22.11 (ANSI "C")
> Sample C99+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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20201126/03337200/attachment.htm>


More information about the Cfp-interest mailing list