+2024-01-18 Bruno Haible <bruno@clisp.org>
+
+ doc: Update regarding <math.h> *l functions on NetBSD 9.3.
+ * doc/posix-functions/acoshl.texi: Mention the buggy implementation on
+ NetBSD.
+ * doc/posix-functions/acosl.texi: Likewise.
+ * doc/posix-functions/asinhl.texi: Likewise.
+ * doc/posix-functions/asinl.texi: Likewise.
+ * doc/posix-functions/atan2l.texi: Likewise.
+ * doc/posix-functions/atanhl.texi: Likewise.
+ * doc/posix-functions/atanl.texi: Likewise.
+ * doc/posix-functions/coshl.texi: Likewise.
+ * doc/posix-functions/cosl.texi: Likewise.
+ * doc/posix-functions/erfcl.texi: Likewise.
+ * doc/posix-functions/erfl.texi: Likewise.
+ * doc/posix-functions/powl.texi: Likewise.
+ * doc/posix-functions/sinhl.texi: Likewise.
+ * doc/posix-functions/sinl.texi: Likewise.
+ * doc/posix-functions/tanhl.texi: Likewise.
+ * doc/posix-functions/tanl.texi: Likewise.
+ * doc/posix-functions/expl.texi: Update NetBSD version info.
+ * doc/posix-functions/exp2l.texi: Likewise.
+ * doc/posix-functions/hypotl.texi: Likewise.
+ * doc/posix-functions/logl.texi: Likewise.
+ * doc/posix-functions/log10l.texi: Likewise.
+ * m4/expl.m4 (gl_FUNC_EXPL): Update comments.
+ * m4/exp2l.m4 (gl_FUNC_EXP2L): Likewise.
+ * m4/hypotl.m4 (gl_FUNC_HYPOTL_WORKS): Likewise.
+ * m4/logl.m4 (gl_FUNC_LOGL_WORKS): Likewise.
+ * m4/log10l.m4 (gl_FUNC_LOG10L_WORKS): Likewise.
+
2024-01-18 Bruno Haible <bruno@clisp.org>
modfl: Work around bug on NetBSD 9.3/arm64.
@item
This function is missing on some platforms:
FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin 1.7.x, mingw, MSVC 9, Android 4.4.
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
@item
This function is missing on some platforms:
FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin 1.7.x, mingw, MSVC 9, Android 4.4.
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
@item
This function is only defined as a macro with arguments on some platforms:
MSVC 14.
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
@item
This function is missing on some platforms:
FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin 1.7.x, mingw, MSVC 9, Android 4.4.
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
@item
This function is only defined as a macro with arguments on some platforms:
MSVC 14.
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
@item
This function is missing on some platforms:
FreeBSD 6.0, NetBSD 7.1, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin 1.7.x, mingw, MSVC 9, Android 4.4.
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
@item
This function is missing on some platforms:
FreeBSD 6.0, NetBSD 7.1, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin 1.7.x, mingw, MSVC 9, Android 4.4.
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
@item
This function produces results which are accurate to only 16 digits on some
platforms:
-NetBSD 9.0.
+NetBSD 9.3.
@end itemize
Portability problems fixed by Gnulib module @code{exp2l-ieee}:
@item
This function produces results which are accurate to only 16 digits on some
platforms:
-musl libc 1.2.2/arm64, musl libc 1.2.2/s390x, NetBSD 9.0.
+musl libc 1.2.2/arm64, musl libc 1.2.2/s390x, NetBSD 9.3.
@end itemize
Portability problems not fixed by Gnulib:
FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin 1.7.x, MSVC 14, Android 4.4.
@item
This function produces very imprecise results on some platforms:
-NetBSD 9.0, OpenBSD 5.1/SPARC.
+NetBSD 9.3, OpenBSD 5.1/SPARC.
@end itemize
Portability problems fixed by Gnulib module @code{hypotl-ieee}:
@item
This function produces results which are accurate to only 16 digits on some
platforms:
-musl libc 1.2.2/arm64, musl libc 1.2.2/s390x, NetBSD 9.0.
+musl libc 1.2.2/arm64, musl libc 1.2.2/s390x, NetBSD 9.3.
@end itemize
Portability problems not fixed by Gnulib:
@item
This function produces results which are accurate to only 16 digits on some
platforms:
-musl libc 1.2.2/arm64, musl libc 1.2.2/s390x, NetBSD 9.0.
+musl libc 1.2.2/arm64, musl libc 1.2.2/s390x, NetBSD 9.3.
@end itemize
Portability problems not fixed by Gnulib:
@item
This function is only defined as a macro with arguments on some platforms:
MSVC 14.
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
@item
This function is only defined as a macro with arguments on some platforms:
MSVC 14.
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
@item
This function is only defined as a macro with arguments on some platforms:
MSVC 14.
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function produces results which are accurate to only 16 digits on some
+platforms:
+NetBSD 9.3.
@end itemize
-# exp2l.m4 serial 13
+# exp2l.m4 serial 14
dnl Copyright (C) 2010-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
{
long double (* volatile my_exp2l) (long double) = argc ? exp2l : dummy;
int result = 0;
- /* This test fails on NetBSD 9.0. */
+ /* This test fails on NetBSD 9.3. */
{
const long double TWO_LDBL_MANT_DIG = /* 2^LDBL_MANT_DIG */
(long double) (1U << ((LDBL_MANT_DIG - 1) / 5))
-# expl.m4 serial 21
+# expl.m4 serial 22
dnl Copyright (C) 2010-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
if (isnan (expl (x1)) || isnan (expl (x2)) || isnan (expl (x3)))
result |= 2;
}
- /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.0. */
+ /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.3. */
{
const long double TWO_LDBL_MANT_DIG = /* 2^LDBL_MANT_DIG */
(long double) (1U << ((LDBL_MANT_DIG - 1) / 5))
-# hypotl.m4 serial 14
+# hypotl.m4 serial 15
dnl Copyright (C) 2012-2024 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 On OpenBSD 5.1/SPARC,
dnl hypotl (2.5541394760659556563446062497337725156L, 7.7893454113437840832487794525518765265L)
dnl has rounding errors that eat up the last 8 to 9 decimal digits.
+dnl On NetBSD 9.3, the result is accurate to only 16 digits.
AC_DEFUN([gl_FUNC_HYPOTL_WORKS],
[
AC_REQUIRE([AC_PROG_CC])
-# log10l.m4 serial 13
+# log10l.m4 serial 14
dnl Copyright (C) 2011-2024 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 0xFFF00000000000000000000000000000.
dnl On AIX 5.1, log10l(-0.0L) is finite if it's not the first log10l call
dnl in the program.
-dnl On NetBSD 9.0, the result is accurate to only 16 digits.
+dnl On NetBSD 9.3, the result is accurate to only 16 digits.
AC_DEFUN([gl_FUNC_LOG10L_WORKS],
[
AC_REQUIRE([AC_PROG_CC])
if (!(gy + gy == gy))
result |= 1;
}
- /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.0. */
+ /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.3. */
{
const long double TWO_LDBL_MANT_DIG = /* 2^LDBL_MANT_DIG */
(long double) (1U << ((LDBL_MANT_DIG - 1) / 5))
dnl Test whether logl() works.
dnl On OSF/1 5.1, logl(-0.0L) is NaN.
-dnl On NetBSD 9.0, the result is accurate to only 16 digits.
+dnl On NetBSD 9.3, the result is accurate to only 16 digits.
AC_DEFUN([gl_FUNC_LOGL_WORKS],
[
AC_REQUIRE([AC_PROG_CC])
if (!(gy + gy == gy))
result |= 1;
}
- /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.0. */
+ /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.3. */
{
const long double TWO_LDBL_MANT_DIG = /* 2^LDBL_MANT_DIG */
(long double) (1U << ((LDBL_MANT_DIG - 1) / 5))