Problem reported by Federico in:
https://lists.gnu.org/r/emacs-devel/2018-08/msg00619.html
* src/floatfns.c (Fexpt): Use TYPE_RANGED_FIXNUMP, not
RANGED_FIXNUMP, to fix bug with unsigned comparison on
platforms built --without-wide-int.
if (INTEGERP (arg1) && NATNUMP (arg2))
{
unsigned long exp;
- if (RANGED_FIXNUMP (0, arg2, ULONG_MAX))
+ if (TYPE_RANGED_FIXNUMP (unsigned long, arg2))
exp = XFIXNUM (arg2);
else if (MOST_POSITIVE_FIXNUM < ULONG_MAX && BIGNUMP (arg2)
&& mpz_fits_ulong_p (XBIGNUM (arg2)->value))