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 14:17:46 -0600 Message-ID: <87y3dnyzkl.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> <86in4resc8.fsf@gmail.com> <831sbfvl11.fsf@gnu.org> <8636vv7ohh.fsf@gmail.com> <83y3dntwsw.fsf@gnu.org> <83wot7tkdh.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533327394 15041 195.159.176.226 (3 Aug 2018 20:16:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2018 20:16:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) Cc: 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 22:16:29 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 1flgUu-0003os-P3 for ged-emacs-devel@m.gmane.org; Fri, 03 Aug 2018 22:16:28 +0200 Original-Received: from localhost ([::1]:52947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flgX1-0007j6-6c for ged-emacs-devel@m.gmane.org; Fri, 03 Aug 2018 16:18:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flgWG-0007j1-5V for emacs-devel@gnu.org; Fri, 03 Aug 2018 16:17:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flgWC-0004IH-Rq for emacs-devel@gnu.org; Fri, 03 Aug 2018 16:17:52 -0400 Original-Received: from gateway22.websitewelcome.com ([192.185.47.79]:41919) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1flgWC-0004H5-LS for emacs-devel@gnu.org; Fri, 03 Aug 2018 16:17:48 -0400 Original-Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 93E514A2C for ; Fri, 3 Aug 2018 15:17:47 -0500 (CDT) Original-Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id lgWBfOefikBj6lgWBfhKCo; Fri, 03 Aug 2018 15:17:47 -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=Nhzsz8jSWU5RFFQb+4JsuGoHjiXFV2H+SzmZGFtz3NU=; b=eNYXMsnRdbOrddh9BCts5jSmWx J7H+38efmtcqWIjztbbFW+1hQky7kJDtrAAk1dLDn72lCsX6vYmV6Ue3KlSfbKZH0XEASQfMnQgyJ CwztWsK1aZFvqL2I3AfeVlTyj; Original-Received: from 75-166-85-72.hlrn.qwest.net ([75.166.85.72]:36312 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1flgWB-0021wZ-AT; Fri, 03 Aug 2018 15:17:47 -0500 X-Attribution: Tom In-Reply-To: <83wot7tkdh.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 03 Aug 2018 20:44:58 +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: 1flgWB-0021wZ-AT X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-85-72.hlrn.qwest.net (pokyo) [75.166.85.72]:36312 X-Source-Auth: tom+tromey.com X-Email-Count: 5 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.47.79 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:228136 Archived-At: >>>>> "Eli" == Eli Zaretskii writes: Eli> OK, let's wait until bignum is merged, and take it from there. Two things still on my to-do list are to make sure the hash table eq code is working correctly (I didn't update this and learned later that I should); and that comparisons against NaN work properly (the GMP docs say this is undefined, so we will need a special case). I'm not sure what the semantics of NaN comparison are in Emacs. In particular, this doesn't really make sense to me: (> 0 0.0e+NaN) => nil (< 0 0.0e+NaN) => nil (min 0 0.0e+NaN) => 0.0e+NaN (min 0.0e+NaN 0) => 0.0e+NaN (max 0 0.0e+NaN) => 0.0e+NaN (max 0.0e+NaN 0) => 0.0e+NaN Tom