emacs-devel
[Top][All Lists]
Advanced

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

Re: integer overflow handling for most-negative-fixnum


From: Eli Zaretskii
Subject: Re: integer overflow handling for most-negative-fixnum
Date: Sat, 21 Jul 2018 21:23:22 +0300

> Cc: address@hidden
> From: Paul Eggert <address@hidden>
> Date: Sat, 21 Jul 2018 11:17:24 -0700
> 
> Eli Zaretskii wrote:
> > I'd like it to read #x3fffffffffffffff as -1.
> 
> That won't work once we have bignums. Even now, it'd be problematic behavior 
> on 
> 32-bit machines. We should insulate Lisp programmers from fixnum width as 
> much 
> as possible.

Currently, this doesn't work on any machine.  Is that reasonable?



reply via email to

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