]> Savannah Git Hosting - gnulib.git/commitdiff
isnan: update comment
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Feb 2023 22:05:16 +0000 (14:05 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Feb 2023 22:06:10 +0000 (14:06 -0800)
* lib/isnan.c: Update comment for C23.

ChangeLog
lib/isnan.c

index e7bee4f00db0291cf3d578365550d1bb024ea9f6..2a7879c0ac2ce6fb1d0a7375ff17c8a3295d0d7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-02-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       isnan: update comment
+       * lib/isnan.c: Update comment for C23.
+
 2023-01-30  Bruno Haible  <bruno@clisp.org>
 
        at-internal: Fix support for z/OS.
index 7119bb298e5675f8236bf57b307d1cf866315215..39e193b9606a8ad08d0b4d56534772778d4b62fe 100644 (file)
@@ -82,9 +82,10 @@ typedef union { DOUBLE value; unsigned int word[NWORDS]; } memory_double;
 /* Most hosts nowadays use IEEE floating point, so they use IEC 60559
    representations, have infinities and NaNs, and do not trap on
    exceptions.  Define IEEE_FLOATING_POINT if this host is one of the
-   typical ones.  The C11 macro __STDC_IEC_559__ is close to what is
+   typical ones.  The C23 macro __STDC_IEC_60559_BFP__ macro (or its cousin,
+   the now-obsolescent C11 macro __STDC_IEC_559__) is close to what is
    wanted here, but is not quite right because this file does not require
-   all the features of C11 Annex F (and does not require C11 at all,
+   all the features of C23 Annex F (and works even with pre-C11 platforms,
    for that matter).  */
 
 #define IEEE_FLOATING_POINT (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \