Submitter:CFP group
Submission Date: 2021-04-18
Document: WG14 N2710
Title: N2710: Overlooked SNAN wording changes
Reference Documents:WG14 N2314, N2341, N2573, N2596, N2602, CFP 1935, 1874

Summary: The papers that added signaling NaNs overlooked a few places for wording changes when some macros were moved from <math.h> to <float.h>.

This was sent to the C standard editor as a possible editorial fix. I never got a response, so do not know if it was accepted as editorial or if it needed to be done as a paper. So, here is a paper.

These page numbers are for N2596.

On printed page 412, B.11 Mathematics <math.h> has three SNAN* macros (SNAN, SNANF, SNANL) that should be removed.

On printed page 440, F.2.1 Infinities and NaNs, paragraph 2:

The NAN and INFINITY macros 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 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 SNANLFLT_SNAN, DBL_SNAN, and LDBL_SNAN macros in <math.h> <float.h> provide designations for IEC 60559 signaling NaNs.

On printed page 518, J.6.2 Particular identifiers or keywords has six SNAN* macros (SNAN, SNANF, SNANL, SNAND32, SNAND64, SNAND128) that should be changed to *SNAN (FLT_SNAN, DBL_SNAN, LDL_SNAN, D32_SNAN, D64_SNAN, D128_SNAN) macros.

On printed page 614, Index has six SNAN* macros (SNAN, SNANF, SNANL, SNAND32, SNAND64, SNAND128) that should be removed.

On printed page 625, Index has six SNAN* macros (SNAN, SNANF, SNANL, SNAND32, SNAND64, SNAND128) that should be removed.