diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2025-10-18 19:06:52 +0200 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2025-10-18 19:06:52 +0200 |
| commit | 27dae84ed92f1ef0300263091972338d12e78348 (patch) | |
| tree | 7c52931f474fafb8a4bd4fd15ca3461c77cdecc2 /gnulib-m4/isnanl.m4 | |
| parent | 4682deeb62247d34de87f8e777f99e2d337fd377 (diff) | |
New upstream version 1.4.1upstream/1.4.1upstream
Diffstat (limited to 'gnulib-m4/isnanl.m4')
| -rw-r--r-- | gnulib-m4/isnanl.m4 | 17 |
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; |
