summaryrefslogtreecommitdiff
path: root/gnulib-m4/isnanl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-m4/isnanl.m4')
-rw-r--r--gnulib-m4/isnanl.m417
1 files changed, 4 insertions, 13 deletions
diff --git a/gnulib-m4/isnanl.m4 b/gnulib-m4/isnanl.m4
index dbdf9482..01b2928a 100644
--- a/gnulib-m4/isnanl.m4
+++ b/gnulib-m4/isnanl.m4
@@ -1,9 +1,10 @@
# isnanl.m4
-# serial 26
-dnl Copyright (C) 2007-2024 Free Software Foundation, Inc.
+# serial 27
+dnl Copyright (C) 2007-2025 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.
+dnl This file is offered as-is, without any warranty.
AC_DEFUN_ONCE([gl_FUNC_ISNANL],
[
@@ -134,17 +135,7 @@ AC_DEFUN([gl_FUNC_ISNANL_WORKS],
((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
typedef union { unsigned int word[NWORDS]; long double value; }
memory_long_double;
-/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the
- runtime type conversion. */
-#ifdef __sgi
-static long double NaNl ()
-{
- double zero = 0.0;
- return zero / zero;
-}
-#else
-# define NaNl() (0.0L / 0.0L)
-#endif
+#define NaNl() (0.0L / 0.0L)
int main ()
{
int result = 0;