From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Making 'eq' == 'eql' in bignum branch Date: Wed, 22 Aug 2018 16:01:08 -0400 Message-ID: References: <29f933ac-a6bf-8742-66a7-0a9d6d3e5a88@disroot.org> <8e0320d9-e0d0-2b57-57cc-2df4399f133c@cs.ucla.edu> <87lgaio7xd.fsf@tromey.com> <877em1cb0i.fsf@tromey.com> <765767b2-d2e5-a9a6-f724-d58ecf4847bb@cs.ucla.edu> <76081b5d-8c10-0a37-2c97-d4864c0faa80@cs.ucla.edu> <09153aed-361d-4f82-d9ac-b502314769ae@cs.ucla.edu> <83k1oldqao.fsf@gnu.org> <87r2irvk5f.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1534967999 898 195.159.176.226 (22 Aug 2018 19:59:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2018 19:59:59 +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 Wed Aug 22 21:59:55 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 1fsZIG-00004w-Vy for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2018 21:59:53 +0200 Original-Received: from localhost ([::1]:60625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsZKN-0000J4-CJ for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2018 16:02:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsZJZ-0000Ig-HY for emacs-devel@gnu.org; Wed, 22 Aug 2018 16:01:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsZJW-00081a-Nt for emacs-devel@gnu.org; Wed, 22 Aug 2018 16:01:13 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:57120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsZJW-000809-CQ for emacs-devel@gnu.org; Wed, 22 Aug 2018 16:01:10 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w7MK18iY024380; Wed, 22 Aug 2018 16:01:09 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C810061443; Wed, 22 Aug 2018 16:01:08 -0400 (EDT) In-Reply-To: <87r2irvk5f.fsf@gmail.com> (Robert Pluim's message of "Tue, 21 Aug 2018 17:01:16 +0200") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6357=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6357> : inlines <6826> : streams <1796260> : uri <2693923> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:228828 Archived-At: >>> I don't think we should go as far as removing these functions, as they >>> can still be useful in some situations. Let's not rush. >> Agreed. How 'bout we first try to actually make use of bignums? >> E.g. changing Calc to use them instead of its own implementation of bignums? > That probably wouldn't be too hard. IIUC, such changes have already been applied to the Calc that's distributed with SXEmacs (where Calc's former maintainer moved), so it's probably worth looking at that code (and associated doc). > Any suggestions for what kind of tests you'd want of the result? Fast and exhaustive tests, of course ;-) Stefan