[Cfp-interest 1874] SNAN issues

Fred J. Tydeman tydeman at tybor.com
Sat Dec 26 12:35:16 PST 2020


The following was sent to the C23 editor

N2596 comments.  

Are the following editorial?  Or, do I need to write a paper?

F.2.1 Infinities and NaNs

The NAN and INFINITY macros and the nan functions in <math.h> provide
designations for IEC 60559 quiet NaNs and infinities.

should be

The NAN and INFINITY macros in <float.h> and the nan functions in
<math.h> provide designations for IEC 60559 quiet NaNs and infinities.



The SNANF, SNAN, and SNANL macros in <math.h> provide designations for
IEC 60559 signaling NaNs.

should be

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


Also, printed page 412 (B.11) has three SNAN* macros that should be
removed.

Also, printed page 518 (J.6.2) has six SNAN* macros that should be
changed to *SNAN macros.


And Index (printed pages 614 and 625) has six SNAN* macros that should
be removed.


---
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.



More information about the Cfp-interest mailing list