emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some vars now limited to fixnum size. (Was: Merging bignum to master


From: Eli Zaretskii
Subject: Re: Some vars now limited to fixnum size. (Was: Merging bignum to master)
Date: Mon, 20 Aug 2018 21:00:12 +0300

> From: Paul Eggert <address@hidden>
> Date: Mon, 20 Aug 2018 10:27:34 -0700
> Cc: address@hidden, Pip Cet <address@hidden>, address@hidden
> 
> +  if (FIXNUMP (n))
> +    num = XFIXNUM (n);
> +  else
> +    {
> +      num = mpz_sgn (XBIGNUM (n)->value);
> +      if (0 < num)
> +     num = EMACS_INT_MAX;  /* LIST cannot possibly be this long.  */

So we now silently replace the argument with another, smaller value,
and then go ahead as if business as usual?  Is that a good,
user-friendly behavior?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]