From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#5114: 23.1.50; (string-to-number (number-to-string most-positive-fixnum)) Date: Thu, 03 Dec 2009 15:36:27 +0100 Message-ID: Reply-To: Helmut Eller , 5114@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259853633 19029 80.91.229.12 (3 Dec 2009 15:20:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 15:20:33 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 03 16:20:26 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGDTk-00069l-4B for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 16:20:24 +0100 Original-Received: from localhost ([127.0.0.1]:60649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGDTh-0003rB-8c for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2009 10:20:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGDHJ-000592-Sx for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 10:07:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGDHE-00050g-Cf for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 10:07:32 -0500 Original-Received: from [199.232.76.173] (port=41711 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGDHD-00050B-Vu for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 10:07:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46605) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGDHD-0007FS-AF for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2009 10:07:27 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB3F7OKa019085; Thu, 3 Dec 2009 07:07:24 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB3F587A018411; Thu, 3 Dec 2009 07:05:08 -0800 Resent-Date: Thu, 3 Dec 2009 07:05:08 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Helmut Eller Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 03 Dec 2009 15:05:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 5114 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125985220117532 (code B ref -1); Thu, 03 Dec 2009 15:05:07 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 3 Dec 2009 14:56:41 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB3Eud5j017529 for ; Thu, 3 Dec 2009 06:56:40 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:48876) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NGD6k-00055T-Ku for emacs-pretest-bug@gnu.org; Thu, 03 Dec 2009 09:56:38 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NGD6i-0006No-4Q for emacs-pretest-bug@gnu.org; Thu, 03 Dec 2009 09:56:38 -0500 Original-Received: from dial-181004.pool.broadband44.net ([212.46.181.4]:54882 helo=ix) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGD6h-0006NQ-Py for emacs-pretest-bug@gnu.org; Thu, 03 Dec 2009 09:56:36 -0500 Original-Received: from helmut by ix with local (Exim 4.69) (envelope-from ) id 1NGCnD-00019q-Sq for emacs-pretest-bug@gnu.org; Thu, 03 Dec 2009 15:36:27 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Greylist: delayed 1202 seconds by postgrey-1.27 at monty-python; Thu, 03 Dec 2009 09:56:34 EST X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 03 Dec 2009 10:07:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33176 gmane.emacs.pretest.bugs:25272 Archived-At: (setq x (string-to-number (number-to-string most-positive-fixnum))) (= most-positive-fixnum x) => nil x is 2305843009213693440 but it should be most-positive-fixnum which is 2305843009213693951. The test (= most-positive-fixnum (string-to-number (number-to-string most-positive-fixnum))) seems to work as expected on 32-bit machines but not so on 64 bit. Helmut. In GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu) of 2009-12-03 configured using `configure '--without-x'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t