]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
signed-nan: New module, renamed from qnan.
authorBruno Haible <bruno@clisp.org>
Fri, 13 Oct 2023 11:05:06 +0000 (13:05 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 13 Oct 2023 11:59:50 +0000 (13:59 +0200)
* lib/signed-nan.h: Renamed from lib/qnan.h. Update double-inclusion
guard.
* modules/signed-nan: Renamed from modules/qnan. Update.
* tests/test-signbit.c: Update.
* tests/test-stdio.c: Likewise.
* tests/test-totalorder.c: Likewise.
* modules/*-tests: Update.

ChangeLog
lib/signed-nan.h [moved from lib/qnan.h with 97% similarity]
modules/signbit-tests
modules/signed-nan [moved from modules/qnan with 71% similarity]
modules/stdio-tests
modules/totalorder-tests
modules/totalorderf-tests
modules/totalorderl-tests
tests/test-signbit.c
tests/test-stdio.c
tests/test-totalorder.c

index 0a4be95ecfcf671e5541cf876a42f8d24dc80b50..7a06938f21fe1256643a06ca705e8ff45cbbce9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2023-10-13  Bruno Haible  <bruno@clisp.org>
+
+       signed-nan: New module, renamed from qnan.
+       * lib/signed-nan.h: Renamed from lib/qnan.h. Update double-inclusion
+       guard.
+       * modules/signed-nan: Renamed from modules/qnan. Update.
+       * tests/test-signbit.c: Update.
+       * tests/test-stdio.c: Likewise.
+       * tests/test-totalorder.c: Likewise.
+       * modules/*-tests: Update.
+
 2023-10-13  Bruno Haible  <bruno@clisp.org>
 
        access: Fix test failure on native Windows.
similarity index 97%
rename from lib/qnan.h
rename to lib/signed-nan.h
index e6538c227ec807892462ec6abf61ee6cc074b079..1018b58cd06cafc6a33edf49eede3a10a989142c 100644 (file)
@@ -14,8 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
 
-#ifndef _QNAN_H
-#define _QNAN_H
+#ifndef _SIGNED_NAN_H
+#define _SIGNED_NAN_H
 
 #include <math.h>
 
@@ -85,4 +85,4 @@ negative_NaNl ()
 }
 
 
-#endif /* _QNAN_H */
+#endif /* _SIGNED_NAN_H */
index c491d7c8851c3377f957eee30517ae55bdce8e49..20b18efdf02a93b03aa0e1b169b717f54a9fffbe 100644 (file)
@@ -6,7 +6,7 @@ tests/macros.h
 
 Depends-on:
 float
-qnan
+signed-nan
 snan
 
 configure.ac:
similarity index 71%
rename from modules/qnan
rename to modules/signed-nan
index fd3cbb5097929a64e67dda9b63dd7544bdbf1262..f544a6c58cf15dd90d017b37038679e4d05d0ed3 100644 (file)
@@ -2,7 +2,7 @@ Description:
 Macros for quiet not-a-number.
 
 Files:
-lib/qnan.h
+lib/signed-nan.h
 
 Depends-on:
 nan
@@ -11,10 +11,10 @@ signbit
 configure.ac:
 
 Makefile.am:
-lib_SOURCES += qnan.h
+lib_SOURCES += signed-nan.h
 
 Include:
-"qnan.h"
+"signed-nan.h"
 
 Link:
 
index 5f94d3961d81da8124b19b876785b1e0f71ed714..a24433f511d69eb6f50c20e951dc80b636d6bca5 100644 (file)
@@ -5,7 +5,7 @@ m4/exponentd.m4
 
 Depends-on:
 assert-h
-qnan
+signed-nan
 snan
 stdio-c++-tests
 fgetc-tests
index 5ff4c752f0f47471788ccd23f7a28a0da60947fc..3741b88d4c108378470efb6564a990b2a488f185 100644 (file)
@@ -5,7 +5,7 @@ tests/infinity.h
 tests/macros.h
 
 Depends-on:
-qnan
+signed-nan
 
 configure.ac:
 
index 7e2e7938f651c5feee25cd7d44ca2672713e9ccd..f2801f496f272bcaa0efce4c137b79fd929f8c0b 100644 (file)
@@ -6,7 +6,7 @@ tests/infinity.h
 tests/macros.h
 
 Depends-on:
-qnan
+signed-nan
 
 configure.ac:
 
index 1b6ca5200fb9d5184ee0599839a536ea06e5deea..fa25c3e301ab56ccb412b0def3a180f84a218b63 100644 (file)
@@ -6,7 +6,7 @@ tests/infinity.h
 tests/macros.h
 
 Depends-on:
-qnan
+signed-nan
 
 configure.ac:
 
index f89fdf6d0507d51faa3a8f1e157c5b7e10551ee2..35b845c6c309591786e956f3152f0cd466575db0 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "minus-zero.h"
 #include "infinity.h"
-#include "qnan.h"
+#include "signed-nan.h"
 #include "snan.h"
 #include "macros.h"
 
index cc442501500a78b1376378d84199a1011c4a782f..6bd100edae3f4ae0134b6b11e054c8583a4d1bfc 100644 (file)
@@ -39,7 +39,7 @@ va_list t5;
 
 #include <string.h>
 
-#include "qnan.h"
+#include "signed-nan.h"
 #include "snan.h"
 #include "macros.h"
 
index b63c7c2211695cc92bc8f102a2c901d852d62a17..af903c68b51485c7f65aa43c2ef25e52e1b6dc93 100644 (file)
@@ -21,7 +21,7 @@
 #include "infinity.h"
 #include "macros.h"
 #include "minus-zero.h"
-#include "qnan.h"
+#include "signed-nan.h"
 
 #ifndef TOTALORDER
 # define TOTALORDER totalorder