From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Bruce Stephens Newsgroups: gmane.emacs.devel Subject: Re: Calc and bignums Date: Wed, 26 Jun 2019 14:50:52 +0100 Message-ID: <80d0j0mp4z.fsf@tinier.isode.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="3886"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 26 15:51:39 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hg8Km-0000op-Kz for ged-emacs-devel@m.gmane.org; Wed, 26 Jun 2019 15:51:36 +0200 Original-Received: from localhost ([::1]:40322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hg8Kl-0006RL-MG for ged-emacs-devel@m.gmane.org; Wed, 26 Jun 2019 09:51:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46329) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hg8K9-0006RC-HA for emacs-devel@gnu.org; Wed, 26 Jun 2019 09:50:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hg8K8-0002QG-Lm for emacs-devel@gnu.org; Wed, 26 Jun 2019 09:50:57 -0400 Original-Received: from waldorf.isode.com ([62.232.206.188]:14979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hg8K8-0002Ng-GF for emacs-devel@gnu.org; Wed, 26 Jun 2019 09:50:56 -0400 Original-Received: from tinier.isode.net ([172.20.0.175]) by waldorf.isode.com (smtp internal) via TCP with SMTP id for ; Wed, 26 Jun 2019 14:50:52 +0100 Original-Received: by tinier.isode.net (sSMTP sendmail emulation); Wed, 26 Jun 2019 14:50:52 +0100 In-Reply-To: (Stefan Monnier's message of "Tue, 25 Jun 2019 23:12:21 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 62.232.206.188 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:238156 Archived-At: Stefan Monnier writes: > I just pushed a patch to Calc which removes its homegrown > bignums, making it use "native" bignums instead. > > I never really use Calc, so the testing was rather limited. > Knowing myself, I probably messed up at a few places. There's one (trivial) bug: --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el @@ -2138,7 +2138,7 @@ 'math-anglep (defalias 'math-numberp #'Math-numberp) ;;; True if A is a complex number or angle. [P x] [Public] -(defalias 'math-scalarp #'#'Math-scalarp) +(defalias 'math-scalarp #'Math-scalarp) ;;; True if A is a vector. [P x] [Public] (defalias 'math-vectorp #'Math-vectorp)