new modules totalordermag, totalordermagf, totalordermagl

2024-04-18 Thread Bruno Haible
The ISO C 23 annex F also specifies functions for ordering numbers according to their absolute value: totalordermag totalordermagf totalordermagl So far, only glibc has these functions. This patch series implements them in Gnulib. 2024-04-18 Bruno Haible totalordermagl: Add tes

support newer MIPS CPUs

2024-04-18 Thread Bruno Haible
On all MIPS machines that I had tested Gnulib on, the nan-mips.m4 configure test reported: checking whether the NaN float encoding is IEEE 754-2008 compliant... no checking whether the NaN double encoding is IEEE 754-2008 compliant... no checking whether the NaN long double encoding is IEEE

snan: Add support for m68k

2024-04-18 Thread Bruno Haible
On m68k, our 'snan' module actually return quiet, not signalling, 'long double' NaNs. This patch fixes it. 2024-04-18 Bruno Haible snan: Add support for m68k. * lib/snan.h (construct_memory_SNaNl): Handle m68k specially. diff --git a/lib/snan.h b/lib/snan.h index c7312e259f..

Re: nan: Relicense under LGPLv2+

2024-04-18 Thread Eric Blake
On Thu, Apr 18, 2024 at 01:09:19AM +0200, Bruno Haible wrote: > The module 'nan' (previously tests/nan.h, now lib/nan.h) defines functions > for getting a NaN value reliably. This module is, so far, under GPL, > because historically only the tests use it. > > I would like to use it under LGPLv2+,

gnulib-tool.py: Add a comment about coding style.

2024-04-18 Thread Collin Funk
Patch 0001 removes an unused instance variable from GLModule and GLModuleSystem. I didn't notice these until now, but PyCharm finds no refrences to them and removing them doesn't break anything. And $ grep '\.args' pygnulib/*.py doesn't find any use of them. So I think it is safe to say

Re: gnulib-tool.py: Fix pylint 'attribute-defined-outside-init' warnings.

2024-04-18 Thread Collin Funk
Hi Bruno, On 4/18/24 6:05 AM, Bruno Haible wrote: > The same holds for GCC, glibc, qemu, and many other project: They have > many open issues because the developers prioritize them. They nevertheless > depend on their users for reporting issues. Paul Eggert and I regularly > report issues in GCC,

totalorderl: Simplify on MSVC

2024-04-18 Thread Bruno Haible
On platforms where 'long double' is the same as 'double' (namely, MSVC), it is a waste of code to compile both 'totalorder' and 'totalorderl' with the complicated algorithm, since they will both do the same thing. Instead, better just redirect from 'totalorderl' to 'totalorder' (like we already do

Re: gnulib-tool.py: Fix pylint 'attribute-defined-outside-init' warnings.

2024-04-18 Thread Bruno Haible
Hi Collin, > A single underscore doesn't silence it. I can submit a feature request > but it isn't really a bug since it is still an attribute outside of > __init__. IIRC pylint is pretty opinionated and they have many open > issues so who knows if it will even be addressed. The same holds for GC

Re: Problems with directory trees "confdir-14B---" and "confdir3"

2024-04-18 Thread Peter Dyballa
Hello Paul! A new progression happened on this, see here: https://trac.macports.org/ticket/62994#comment:125. -- Greetings Pete Je pompe donc je suis

Re: [PATCH] full-read: Add extern "C" for C++.

2024-04-18 Thread Bruno Haible
Miro Palmu wrote: > Patch I send fixed problem I had and as I saw the asymmetry with full-write, > I wanted to try sending my first ever patch to any GNU mailing list. Thank you, and welcome to GNU. If it had been an isolated problem that existed only in 1 file, I would have applied your patch. B