Re: [PATCH 2/2] libgmp-mpq: Add tests.

2024-08-29 Thread Bruno Haible
Thanks for the new module, Marc!

Re: [PATCH 2/2] libgmp-mpq: Add tests.

2024-08-29 Thread Marc Nieper-Wißkirchen
Am Do., 29. Aug. 2024 um 11:36 Uhr schrieb Bruno Haible : > Hi Marc, > > > +#ifndef MINI_GMP_LIMB_TYPE > > +/* Verify that the gmp.h header file was generated for the same > > + machine word size as we are using. */ > > +static_assert (GMP_NUMB_BITS == sizeof (mp_limb_t) * CHAR_BIT); > > +#endi

Re: [PATCH 2/2] libgmp-mpq: Add tests.

2024-08-29 Thread Bruno Haible
Hi Marc, > +#ifndef MINI_GMP_LIMB_TYPE > +/* Verify that the gmp.h header file was generated for the same > + machine word size as we are using. */ > +static_assert (GMP_NUMB_BITS == sizeof (mp_limb_t) * CHAR_BIT); > +#endif > + > +int > +main () > +{ > +#ifndef MINI_GMP_LIMB_TYPE > + /* Verif

[PATCH 2/2] libgmp-mpq: Add tests.

2024-08-29 Thread marc . nieper+gnu
From: Marc Nieper-Wißkirchen * modules/libgmp-mpq-tests: New file. * tests/test-libgmp-mpq.c: New file. --- ChangeLog| 4 ++ modules/libgmp-mpq-tests | 14 +++ tests/test-libgmp-mpq.c | 82 3 files changed, 100 insertions(+) create