2007-10-07 Bruno Haible <bruno@clisp.org>
+ * trunc.c (TWO_MANT_DIG): Change type to DOUBLE.
+ * floor.c (TWO_MANT_DIG): Likewise.
+ * ceil.c (TWO_MANT_DIG): Likewise.
+ Reported by Ben Pfaff.
+
+2007-10-07 Bruno Haible <bruno@clisp.org>
+
Avoid gcc warnings "declaration of 'exp' shadows a global declaration".
* lib/math.in.h (frexp, frexpl): Change parameter name to 'expptr'.
* lib/frexp.c (FUNC): Likewise.
#endif
/* 2^(MANT_DIG-1). */
-static const double TWO_MANT_DIG =
+static const DOUBLE TWO_MANT_DIG =
/* Assume MANT_DIG <= 5 * 31.
Use the identity
n = floor(n/5) + floor((n+1)/5) + ... + floor((n+4)/5). */
#endif
/* 2^(MANT_DIG-1). */
-static const double TWO_MANT_DIG =
+static const DOUBLE TWO_MANT_DIG =
/* Assume MANT_DIG <= 5 * 31.
Use the identity
n = floor(n/5) + floor((n+1)/5) + ... + floor((n+4)/5). */
#endif
/* 2^(MANT_DIG-1). */
-static const double TWO_MANT_DIG =
+static const DOUBLE TWO_MANT_DIG =
/* Assume MANT_DIG <= 5 * 31.
Use the identity
n = floor(n/5) + floor((n+1)/5) + ... + floor((n+4)/5). */