+2023-10-12 Bruno Haible <bruno@clisp.org>
+
+ qnan: New module.
+ * lib/qnan.h: Renamed from tests/qnan.h. Add double-inclusion guard.
+ * modules/qnan: New file.
+ * modules/signbit-tests (Files): Remove tests/qnan.h.
+ (Depends-on): Add qnan. Remove nan.
+ * modules/stdio-tests (Files): Remove tests/qnan.h.
+ (Depends-on): Add qnan. Remove nan.
+ * modules/totalorder-tests (Files): Remove tests/qnan.h.
+ (Depends-on): Add qnan. Remove nan, signbit.
+ * modules/totalorderf-tests (Files): Remove tests/qnan.h.
+ (Depends-on): Add qnan. Remove nan, signbit.
+ * modules/totalorderl-tests (Files): Remove tests/qnan.h.
+ (Depends-on): Add qnan. Remove nan, signbit.
+
2023-10-12 Bruno Haible <bruno@clisp.org>
nan: New module.
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
+
#include <math.h>
#include "nan.h"
long double volatile nan = NaNl ();
return (signbit (nan) ? nan : - nan);
}
+
+
+#endif /* _QNAN_H */