2025-09-10 Bruno Haible <bruno@clisp.org>
+ frexp: Remove support for IRIX.
+ * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Remove code for IRIX.
+
fmal: Remove support for IRIX.
* m4/fmal.m4 (gl_FUNC_FMAL): Don't test whether fmal is declared.
(gl_FUNC_FMAL_WORKS): Remove IRIX <float.h> workaround.
# frexp.m4
-# serial 20
+# serial 21
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 Test whether frexp() works also on denormalized numbers (this fails e.g. on
-dnl NetBSD 3.0), on infinite numbers (this fails e.g. on IRIX 6.5 and mingw),
-dnl and on negative zero (this fails e.g. on NetBSD 4.99 and mingw).
+dnl NetBSD 3.0), on infinite numbers (this fails e.g. on mingw), and on negative
+dnl zero (this fails e.g. on NetBSD 4.99 and mingw).
AC_DEFUN([gl_FUNC_FREXP_WORKS],
[
AC_REQUIRE([AC_PROG_CC])
ICC 10.0 has a bug when optimizing the expression -zero.
The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
to PowerPC on Mac OS X 10.5. */
-#if defined __hpux || defined __sgi || defined __ICC
+#if defined __hpux || defined __ICC
static double
compute_minus_zero (void)
{
[gl_cv_func_frexp_works=yes],
[gl_cv_func_frexp_works=no],
[case "$host_os" in
- netbsd* | irix*) gl_cv_func_frexp_works="guessing no" ;;
+ netbsd*) gl_cv_func_frexp_works="guessing no" ;;
# Guess yes with MSVC, no with mingw.
windows*-msvc*)
gl_cv_func_frexp_works="guessing yes"