snan: New module.
* lib/snan.h: Renamed from tests/snan.h. Add double-inclusion guard.
+ * m4/snan.m4: New file.
* modules/snan: New file.
* isfinite-tests (Files): Remove tests/snan.h, m4/exponent*.m4.
(Depends-on): Add snan.
--- /dev/null
+# snan.m4 serial 1
+dnl Copyright (C) 2023 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+# Prerequisites for tests/snan.h.
+AC_DEFUN_ONCE([gl_SNAN],
+[
+ gl_FLOAT_EXPONENT_LOCATION
+ gl_DOUBLE_EXPONENT_LOCATION
+ gl_LONG_DOUBLE_EXPONENT_LOCATION
+])