From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Calc; Emacs has big-number support Date: Mon, 03 Sep 2018 12:00:26 +0200 Message-ID: <87va7mvr2d.fsf@fencepost.gnu.org> References: <87zhwzuesb.fsf@fencepost.gnu.org> <87r2ia29wp.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535968727 27407 195.159.176.226 (3 Sep 2018 09:58:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2018 09:58:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 03 11:58:43 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwld5-0006ze-4g for ged-emacs-devel@m.gmane.org; Mon, 03 Sep 2018 11:58:43 +0200 Original-Received: from localhost ([::1]:44405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwlfB-0002On-7q for ged-emacs-devel@m.gmane.org; Mon, 03 Sep 2018 06:00:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwlez-0002OY-F8 for emacs-devel@gnu.org; Mon, 03 Sep 2018 06:00:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwlem-0001gS-OP for emacs-devel@gnu.org; Mon, 03 Sep 2018 06:00:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwlem-0001gC-AT for emacs-devel@gnu.org; Mon, 03 Sep 2018 06:00:28 -0400 Original-Received: from x4db56dba.dyn.telefonica.de ([77.181.109.186]:54582 helo=lola) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fwlel-0000fe-U0 for emacs-devel@gnu.org; Mon, 03 Sep 2018 06:00:28 -0400 In-Reply-To: <87r2ia29wp.fsf@gmail.com> (Robert Pluim's message of "Mon, 03 Sep 2018 11:43:50 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229200 Archived-At: Robert Pluim writes: > David Kastrup writes: > >> Please describe exactly what actions triggered the bug and the >> precise symptoms of the bug. If possible, include a backtrace by >> doing `\[toggle-debug-on-error]', then reproducing the bug. >> >> >> With big number support native to Emacs, the number support primitives >> should no longer employ the historic large integer representation. As >> XEmacs is essentially frozen (and has had (optional?) big number support >> for much longer anyway), this should not be a consideration. As opposed >> to the (never completed) Calc 2.0 project of using Emacs floats where >> feasible, this does not require bolstering precice arithmetic with fast >> but approximative floating point arithmetic but is a wholesale >> replacement of precise integer arithmetic. >> >> As such, it should not pose new numeric and structural challenges but >> would be "just" a case of simplifying code. > > Yes. I posted a proof-of-concept patch here a while back, and am > (slowly) working on making sure the result works correctly. Great to hear! Thanks! -- David Kastrup