From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: integer overflow Date: Fri, 05 Mar 2010 21:55:25 -0500 Message-ID: <3vsk8ecg6a.fsf@fencepost.gnu.org> References: <4B8147A9.7030504@gmail.com> <87ljemdzxo.fsf@stupidchicken.com> <4B83682D.5010804@gnu.org> <87vddmpw4s.fsf@stupidchicken.com> <87hbp2fwoi.fsf@gnu.org> <87wrxrr4md.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267844141 14130 80.91.229.12 (6 Mar 2010 02:55:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 6 Mar 2010 02:55:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 06 03:55:37 2010 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NnkAx-0002sL-9i for ged-emacs-devel@m.gmane.org; Sat, 06 Mar 2010 03:55:35 +0100 Original-Received: from localhost ([127.0.0.1]:52506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NnkAw-0001VM-Qc for ged-emacs-devel@m.gmane.org; Fri, 05 Mar 2010 21:55:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NnkAq-0001V8-PW for emacs-devel@gnu.org; Fri, 05 Mar 2010 21:55:28 -0500 Original-Received: from [199.232.76.173] (port=59129 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NnkAq-0001Uy-5c for emacs-devel@gnu.org; Fri, 05 Mar 2010 21:55:28 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NnkAo-0005uT-Cz for emacs-devel@gnu.org; Fri, 05 Mar 2010 21:55:27 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:38001) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NnkAo-0005uN-7w for emacs-devel@gnu.org; Fri, 05 Mar 2010 21:55:26 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NnkAn-00036t-B5; Fri, 05 Mar 2010 21:55:25 -0500 X-Spook: monarchist LLNL Vince Foster AK-47 TWA bank Mossad X-Ran: 7>q'z"E>H1^vrAR3>y$HRhSTy4+L*2PDt!?wqhgA# List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:121669 Archived-At: 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?