From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Calc; Emacs has big-number support Date: Mon, 03 Sep 2018 11:43:50 +0200 Message-ID: <87r2ia29wp.fsf@gmail.com> References: <87zhwzuesb.fsf@fencepost.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535967847 10602 195.159.176.226 (3 Sep 2018 09:44:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2018 09:44:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 03 11:44:03 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 1fwlOs-0002YG-9v for ged-emacs-devel@m.gmane.org; Mon, 03 Sep 2018 11:44:03 +0200 Original-Received: from localhost ([::1]:44334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwlQv-0007rn-Pb for ged-emacs-devel@m.gmane.org; Mon, 03 Sep 2018 05:46:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwlOn-0006SI-I7 for emacs-devel@gnu.org; Mon, 03 Sep 2018 05:43:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwlOj-0003na-IE for emacs-devel@gnu.org; Mon, 03 Sep 2018 05:43:57 -0400 Original-Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:55098) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwlOj-0003nF-BP; Mon, 03 Sep 2018 05:43:53 -0400 Original-Received: by mail-wm0-x22c.google.com with SMTP id c14-v6so475093wmb.4; Mon, 03 Sep 2018 02:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=052W8b9OtbsmQd63Fj4SdhCiEn+FvjtuBge+2hcVDfk=; b=JUT3KCLWuoGnEykAyhHeMlfAUjcPVSCdghevqEIwdHnJISf2NrFrsq7GwtFPOjdScB TcBl/+02uutTpenQ7JHvIb/g8UNOVQf8c6swT4SiWLXFBDuUSTxqj7AiwGuuT2hGq+Ys gdXOBA83tBiKS+w+hYBpZHVxUaeShjL2Lwv8KOaVDs+GGZRqHxvpHsV/WhLMO5zRrqnB s6sYse5WXgKu2gWmAr8AAtygpluMfbFvas4wH0kfVMD55gF1SLLe/I+p7AsABW6qpewn HHwV7WKUFBuOjrCntcJK84U1FRdlJ32OY5Jpl1y7KaZ7NAwlYqtyg+3TFD9Z04MkvlQz tjEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version; bh=052W8b9OtbsmQd63Fj4SdhCiEn+FvjtuBge+2hcVDfk=; b=PbARHpw7w5izLa+6ML1KSQJNbjlNJ+uSe8MhHxQbRwEvC3jqM3MxlGikSLFSQoFYMw Og4JYf+lXtXkkD+7iSQQEk5tmsB67gUZLrnSTuApN0gtomo+vV/MB9A6vwfM/63wLd2p or4FoOMmgOa+fg8BpwILyIrDz0gLwRyoPAh7hhnu9xMrhxw9fP0TnqCxNJCbaXSG3FBW x+ZAbqsekWkUZkiszTe9mKCWuWws/i66Yt32AyATf1PuOyRMwS48/QoLNonV7agtaQFo uEp5CFWOUpPA2bUOHRLm/G7O946+iFqyfLRDFhFzdajVUwHdq+kHaHtTqZVUoIUCQ77b N0yw== X-Gm-Message-State: APzg51CeO9QOhevn5uBz0OtA2yR8Td/slwMJcBFsJ/UYwdvRiDf2pk/R gInfPbKH+RBvT4n+w5tDbPVY4XMA X-Google-Smtp-Source: ANB0VdYHd4w+i9EsUuEG3MD/wgL3NPXbp4gGdEYvczY8LWV8PIx/3UXSIa10kZI9SpnWuolQc6YrDA== X-Received: by 2002:a1c:64d5:: with SMTP id y204-v6mr4544005wmb.14.1535967831663; Mon, 03 Sep 2018 02:43:51 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id l130-v6sm18913583wmd.16.2018.09.03.02.43.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 02:43:50 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87zhwzuesb.fsf@fencepost.gnu.org> (David Kastrup's message of "Mon, 03 Sep 2018 11:11:00 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22c 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:229199 Archived-At: 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. Robert