Reported by Paul Eggert in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-06/msg00243.html>.
* lib/gcd.h (GCD_WORD_T): Improve comments.
2025-06-22 Bruno Haible <bruno@clisp.org>
+ gcd: Improve comments regarding GCD_WORD_T.
+ Reported by Paul Eggert in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2025-06/msg00243.html>.
+ * lib/gcd.h (GCD_WORD_T): Improve comments.
+
gcd: Allow customizing the parameter and result type.
* lib/gcd.h (GCD_WORD_T): New type.
(gcd): Use GCD_WORD_T instead of 'unsigned long'.
/* Before including this file, you may define:
GCD_WORD_T The parameter type and result type of the gcd function.
+ It should be an unsigned integer type that is either
+ a built-in type or defined in <stdef.h> or <stdint.h>.
+
+ The definition of GCD_WORD_T needs to be the same across the entire
+ application. Therefore it is best placed in <config.h>.
*/
#ifdef GCD_WORD_T