From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: bignum branch Date: Fri, 03 Aug 2018 11:30:08 -0600 Message-ID: <87wot71hpb.fsf@tromey.com> References: <87o9fbbw1t.fsf@tromey.com> <86in5jdj49.fsf@gmail.com> <83wotxaiwi.fsf@gnu.org> <86k1pxmvmx.fsf@gmail.com> <87efg4a9xc.fsf@tromey.com> <87a7qr8cz7.fsf@tromey.com> <86tvoy3je9.fsf@gmail.com> <86bmb0vbxf.fsf@gmail.com> <87k1pnfcg1.fsf@tromey.com> <86sh4b1833.fsf@gmail.com> <861sbgz3dm.fsf@gmail.com> <83a7q4ufxp.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533317399 26905 195.159.176.226 (3 Aug 2018 17:29:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2018 17:29:59 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) Cc: Paul Eggert , Tom Tromey , Andy Moreton , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 03 19:29:54 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 1fldth-0006rt-5n for ged-emacs-devel@m.gmane.org; Fri, 03 Aug 2018 19:29:53 +0200 Original-Received: from localhost ([::1]:52379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fldvn-00046C-NJ for ged-emacs-devel@m.gmane.org; Fri, 03 Aug 2018 13:32:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flduD-000456-Nl for emacs-devel@gnu.org; Fri, 03 Aug 2018 13:30:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flduA-0006R4-DS for emacs-devel@gnu.org; Fri, 03 Aug 2018 13:30:25 -0400 Original-Received: from gateway23.websitewelcome.com ([192.185.50.141]:16746) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fldu9-0006DU-Vs for emacs-devel@gnu.org; Fri, 03 Aug 2018 13:30:22 -0400 Original-Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 0335C8444 for ; Fri, 3 Aug 2018 12:30:10 -0500 (CDT) Original-Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id ldtxfbWHVaSeyldtxfANmf; Fri, 03 Aug 2018 12:30:10 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qK7PXkoawnXDrPHwX6EIlllhNNT/6LhENTqXXm3R68c=; b=GtDn+e09mDXBXWwE8IU/18bYZA XnAj8U1mARUrcgeWGHj/TLYTxseGXmM8R8gqo6e3IRDbrIi6BzZR2AJ05oUFv7mNEgAD/T7gjKzem NKgUuySdbpyjDTJjxVq1OnX8S; Original-Received: from 75-166-85-72.hlrn.qwest.net ([75.166.85.72]:34688 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fldtx-001Sb2-Gl; Fri, 03 Aug 2018 12:30:09 -0500 X-Attribution: Tom In-Reply-To: <83a7q4ufxp.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 03 Aug 2018 09:23:14 +0300") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.85.72 X-Source-L: No X-Exim-ID: 1fldtx-001Sb2-Gl X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-85-72.hlrn.qwest.net (pokyo) [75.166.85.72]:34688 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 192.185.50.141 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:228130 Archived-At: >>>>> "Eli" == Eli Zaretskii writes: Eli> Btw, isn't it confusing that INTEGERP allows fixnums and bignums, but Eli> XINT, XFASTINT, and XSETINT work only with fixnums? I envision quite Eli> a few of potential bugs due to this semantic discrepancy, like the one Eli> you just fixed: >> - fix NUMBERP to remove redundant BIGNUMP test (ensured by INTEGERP) Eli> Should we have a different name for what is now INTEGERP? Like Eli> WHOLENUMP, for example? Paul suggested this and it made sense to me, as a bignum is an integer. Perhaps one fix would be to take some of the renaming further and use XFIXNUM, XFASTFIXNUM, and XSETFIXNUM. Tom