Hi Paul,
> Why not default GCD_WORD_T to unsigned long long int? Existing usages
> will work and this will be less hassle (and likely less error-prone) for
> usages.
Doing so would be overkill on 32-bit platforms. 64-bit arithmetic on
i386, for example, uses many registers and thus becomes slow
The 'gcd' module provides a gcd() function with 'unsigned long' parameters.
But some packages (such as GNU gettext) need it with 'size_t' parameters.
This matters, because on native Windows, 'size_t' is larger than 'unsigned
long'.
(Platforms where 'size_t' is smaller than 'unsigned long', such as
On 2025-06-22 13:16, Bruno Haible via Gnulib discussion list wrote:
+#ifdef GCD_WORD_T
+/* Make sure that GCD_WORD_T is defined as a type. */
+# include
+# include
+#else
+# define GCD_WORD_T unsigned long
+#endif
A little bikeshedding (hope you don't mind)
If the includer #defines GC