From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#9411: 23.2; Improper integer conversion (rounding?) on data entry in Calc Date: Wed, 31 Aug 2011 00:14:44 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1314742502 15019 80.91.229.12 (30 Aug 2011 22:15:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2011 22:15:02 +0000 (UTC) Cc: 9411@debbugs.gnu.org To: Keith Browne Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 31 00:14:57 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QyWa8-00070p-N6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Aug 2011 00:14:56 +0200 Original-Received: from localhost ([::1]:60039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyWa8-00078E-37 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Aug 2011 18:14:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyWa6-000788-2l for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 18:14:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyWa5-0000NG-26 for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 18:14:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyWa4-0000NC-UR for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 18:14:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QyWd7-0000mG-Ue; Tue, 30 Aug 2011 18:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Aug 2011 22:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9411 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9411-submit@debbugs.gnu.org id=B9411.13147426802980 (code B ref 9411); Tue, 30 Aug 2011 22:18:01 +0000 Original-Received: (at 9411) by debbugs.gnu.org; 30 Aug 2011 22:18:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QyWd5-0000m0-2T for submit@debbugs.gnu.org; Tue, 30 Aug 2011 18:17:59 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QyWd2-0000ls-V8 for 9411@debbugs.gnu.org; Tue, 30 Aug 2011 18:17:58 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 6E66F188B5BB; Wed, 31 Aug 2011 00:14:45 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id B3E1B1C00086; Wed, 31 Aug 2011 00:14:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id c5-pvQTHtfPS; Wed, 31 Aug 2011 00:14:45 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-102-94.dynamic.mnet-online.de [88.217.102.94]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 31 Aug 2011 00:14:45 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 64D30CA296; Wed, 31 Aug 2011 00:14:44 +0200 (CEST) X-Yow: An Italian is COMBING his hair in suburban DES MOINES! In-Reply-To: (Keith Browne's message of "Tue, 30 Aug 2011 17:35:33 -0400 (EDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 30 Aug 2011 18:18:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50454 Archived-At: Keith Browne writes: > M-x calc [RETURN] > 90000000000000010 [RETURN] > (that's 9, followed by fourteen 0s, followed by 10) > > - Observe that 90000000000000016 appears on the stack, not > 90000000000000010. That is an inaccuracy in string-to-number that should be fixed in Emacs 24. You can work around it by reducing math-bignum-digit-length. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."