fenv-rounding: Avoid a test failure on OpenBSD/arm64

2024-01-18 Thread Bruno Haible
On OpenBSD 7.4/arm64, I'm seeing this test failure: $ ./test-fenv-round ../../gltests/test-fenv-round.c:53: assertion 'p < a' failed Abort trap (core dumped) As usual, the problem is that the soft-float functions (__divtf3, __eqtf2, __multf3) ignore t

Avoid test failures in FreeBSD's GB18030 locale

2024-01-18 Thread Bruno Haible
On FreeBSD 14.0/powerpc64 I am seeing these test failures in a testdir of all of gnulib: FAIL: test-c32isalnum.sh FAIL: test-c32isalpha.sh FAIL: test-c32isblank.sh FAIL: test-c32iscntrl.sh FAIL: test-c32isdigit.sh FAIL: test-c32islower.sh FAIL: test-c32ispunct.sh FAIL: test-c32isspace.sh FAIL: tes

get-rusage-data: Avoid test failure on NetBSD 9.3

2024-01-18 Thread Bruno Haible
On NetBSD 9.3 (x86_64, arm64, powerpc) I see a test failure: ../../gltests/test-get-rusage-data.c:66: assertion 'value3 > value1' failed FAIL test-get-rusage-data (exit status: 134) This patch acknowledges the NetBSD behaviour, like the one on FreeBSD and OpenBSD. 2024-01-18 Bruno Haible

log10l: Work around bug on NetBSD 9.3/arm64

2024-01-18 Thread Bruno Haible
On NetBSD 9.3/arm64 I see a test failure: $ ./test-log10l ../../gltests/test-log10.h:68: assertion 'err > - err_bound / TWO_MANT_DIG && err < err_bound / TWO_MANT_DIG' failed The reason is that the configure test "whether log10l works..." has not detected the broken NetBSD log10l() function. Thi

doc: Update regarding *l functions on NetBSD 9.3

2024-01-18 Thread Bruno Haible
NetBSD has intentionally buggy implementations for 'long double' functions: http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libm/src/ldbl_dummy.c?only_with_tag=MAIN This patch documents it in Gnulib. 2024-01-18 Bruno Haible doc: Update regarding *l functions on NetBSD 9.3. * do

modfl: Work around bug on NetBSD 9.3/arm64

2024-01-18 Thread Bruno Haible
On NetBSD 9.3/arm64, I see this test failure: $ ./test-modfl ../../gltests/test-modfl.c:48: assertion 'y >= 0.972406759L && y <= 0.972406761L' failed Herex=5.97241, y=1.97241, z=4 instead of the expected x=5.97241, y=0.97241, z=5. This patch provides a workaround. 2024-01-

isnanl: Avoid autoconf warning

2024-01-18 Thread Bruno Haible
When creating a testdir with the modules 'modfl' and 'log10l', I see this warning: executing autoconf configure.ac:342: warning: AC_REQUIRE: 'gl_FUNC_ISNANL' was expanded before it was required configure.ac:342: https://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required

fmaf, fma, fmal: Work around bugs on OpenBSD 7.4/arm64

2024-01-18 Thread Bruno Haible
On OpenBSD 7.4/arm64, I'm seeing these test failures: $ ./test-fmaf2 ../../gltests/test-fma2.h:246: assertion 'result == expected' failed Abort trap (core dumped) $ ./test-fma2 ../../gltests/test-fma2.h:538: assertion 'result == expected' failed

stable branches update

2024-01-18 Thread Bruno Haible
I updated the branches stable-202301 and stable-202307 with the bug fixes up to 2023-12-31. Also, I created a new stable branch stable-202401. The branch stable-202301 being one year old, it will no longer be updated. Users of this branch are recommended to switch to stable-202307. 2024-01-18