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: Making 'eq' == 'eql' in bignum branch Date: Thu, 30 Aug 2018 15:35:48 -0600 Message-ID: <87tvnb1qrv.fsf@tromey.com> References: <29f933ac-a6bf-8742-66a7-0a9d6d3e5a88@disroot.org> <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> <83lg91dqd4.fsf@gnu.org> <8836uvis5y.fsf@gnu.org> <03ebbc30-a127-6a57-2ae4-56763286cd0d@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1535664865 4105 195.159.176.226 (30 Aug 2018 21:34:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2018 21:34:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) Cc: Johan =?utf-8?Q?Bockg=C3=A5rd?= , emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 30 23:34:21 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 1fvUa4-0000uG-Ts for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2018 23:34:21 +0200 Original-Received: from localhost ([::1]:50949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvUcA-0006V4-PH for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2018 17:36:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvUc0-0006Ug-Nw for emacs-devel@gnu.org; Thu, 30 Aug 2018 17:36:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvUbx-0002WF-Ih for emacs-devel@gnu.org; Thu, 30 Aug 2018 17:36:20 -0400 Original-Received: from gateway22.websitewelcome.com ([192.185.46.142]:20819) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fvUbx-0002Os-BZ for emacs-devel@gnu.org; Thu, 30 Aug 2018 17:36:17 -0400 Original-Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway22.websitewelcome.com (Postfix) with ESMTP id F1AD0D6A9 for ; Thu, 30 Aug 2018 16:36:04 -0500 (CDT) Original-Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id vUbWfln9pBcCXvUbefFhUe; Thu, 30 Aug 2018 16:36:04 -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-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=nEsAA7Z1lCvRdmy0FXujeqZhWHtkzLTDPbgVJbcBuSI=; b=kwEzItciNSSRS2zcab2I361sPK aoV0FLUWHN9lo1wU2QlHYbl6UZyiU3xEg4UujI+Bweph6QAbL9dFE/MCOH7qh6NogdXeknJJ2WcAw FhKCoudbGH0JTMS3rtA0ubsJm; Original-Received: from 75-166-85-72.hlrn.qwest.net ([75.166.85.72]:57094 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fvUbV-000d7Q-RS; Thu, 30 Aug 2018 16:35:49 -0500 X-Attribution: Tom In-Reply-To: <03ebbc30-a127-6a57-2ae4-56763286cd0d@gmail.com> (=?utf-8?Q?=22Cl=C3=A9ment?= Pit-Claudel"'s message of "Thu, 30 Aug 2018 17:14:25 -0400") 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: 1fvUbV-000d7Q-RS X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-85-72.hlrn.qwest.net (pokyo) [75.166.85.72]:57094 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.46.142 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:229119 Archived-At: >>>>> "Cl=C3=A9ment" =3D=3D Cl=C3=A9ment Pit-Claudel writes: >> It doesn't preserve integerness; (min 1 NEUTRAL-ELEMENT) should be 1, >> but (min 1 1e+INF) is 1.0. Cl=C3=A9ment> What platform are you on? On my machine (x86_64-pc-linux-gnu) Cl=C3=A9ment> it returns 1, not 1.0. Cl=C3=A9ment> And, AFAICT, the implementation always returns one of its arg= uments: This changed in recent history, min/max used to do float promotion. Tom