[PATCH] libgmp-mpz: require Baillie-PSW primality test

2025-06-14 Thread Paul Eggert
* m4/libgmp.m4 (gl_LIBGMP): Reject GMP 6.1.2 (2016) and earlier, as these older versions had an inferior primality test and coreutils factor.c will need Baillie-PSW. mini-gmp.c already has Baillie-PSW, so it can serve as a fallback. --- ChangeLog| 8 m4/libgmp.m4 | 8 ++-- 2 file

Re: fenv-env tests do not compile on sh4

2025-06-14 Thread Collin Funk
Collin Funk writes: > Should these tests do something like this? > > /* Modify the current environment. */ > #if !defined __sh__ > #define ENV1_ROUNDING_DIRECTION FE_TONEAREST > #define ENV2_ROUNDING_DIRECTION FE_TOWARDZERO > #else > #define ENV1_ROUNDING_DIRECTION FE_UPW

fenv-env tests do not compile on sh4

2025-06-14 Thread Collin Funk
Hi Bruno, I found that the fenv-env tests do not compile on sh4. This is the error: test-fenv-env-2.c: In function 'main': test-fenv-env-2.c:49:15: error: 'FE_UPWARD' undeclared (first use in this function) 49 | fesetround (FE_UPWARD); | ^ tes

Re: MinGW-w64 fenv changes.

2025-06-14 Thread Lasse Collin
On 2025-06-13 Bruno Haible wrote: > Lasse Collin wrote: > > I mentioned this thread on #mingw-w64 on OFTC. I was asked if I > > could ask the Gnulib developers to report the bugs with minimal > > reproducible examples to the mingw-w64-public mailing list[1]. > > I usually don't spend much time r