* lib/ldexpl.c (exp): Locally rename to 'exponent'.
2023-08-19 Bruno Haible <bruno@clisp.org>
+ ldexpl: Avoid possible -Wshadow warning.
+ * lib/ldexpl.c (exp): Locally rename to 'exponent'.
+
ldexpl: Fix signed integer overflow.
* lib/ldexpl.c (ldexpl): Use an 'unsigned int' variable to represent the
absolute value of exp without overflow.
/* Specification. */
#include <math.h>
+/* Avoid some warnings from "gcc -Wshadow".
+ This file doesn't use the exp() function. */
+#undef exp
+#define exp exponent
+
#if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
long double