emacs-devel
[Top][All Lists]
Advanced

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

Re: integer overflow


From: Glenn Morris
Subject: Re: integer overflow
Date: Fri, 05 Mar 2010 21:55:25 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

> Indeed, I thought about it as a pure bug-fix, but it needs to be added
> to the NEWS.  Can you do that and update the doc accordingly?

I don't really understand it. In a 32-bit Emacs:

(1+ 536870911) -536870912
(+ 2 536870911) -536870911  
(1+ 536870912)  536870913.0
(1+ 4294967295) overflow
(1+ 4294967295.0) 4294967296.0

Can you summarize how it's supposed to work?




reply via email to

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