From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: bignum branch Date: Wed, 18 Jul 2018 15:06:54 +0100 Message-ID: References: <87o9fbbw1t.fsf@tromey.com> <41221ccf-0c1a-c7e6-2204-e3f9056f7eb5@cs.ucla.edu> <838t6c9wx5.fsf@gnu.org> <53ba128d-7888-e15a-c4a2-1d7a65f51345@cs.ucla.edu> <83wotu7fcj.fsf@gnu.org> <83k1pt7q1e.fsf@gnu.org> <83h8kx7oeu.fsf@gnu.org> <83fu0h7nr6.fsf@gnu.org> <83d0vl7kg2.fsf@gnu.org> <4bc2a6ba-bc73-c4a9-f7a6-20303955bc7f@cs.ucla.edu> <838t696zb2.fsf@gnu.org> <5095f6d2-c8c1-8d9b-4f4f-ccb74a68d58e@cs.ucla.edu> <8547e501-a41f-68eb-6e00-5fed6c593da4@gmail.com> <73e5dd79-d7d5-3bec-f991-04ceb5d3472d@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1531922753 30463 195.159.176.226 (18 Jul 2018 14:05:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Jul 2018 14:05:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 18 16:05:49 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 1ffn5P-0007mf-UX for ged-emacs-devel@m.gmane.org; Wed, 18 Jul 2018 16:05:48 +0200 Original-Received: from localhost ([::1]:36862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffn7V-0002rv-0O for ged-emacs-devel@m.gmane.org; Wed, 18 Jul 2018 10:07:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffn6m-0002rQ-4H for emacs-devel@gnu.org; Wed, 18 Jul 2018 10:07:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffn6j-0000vH-0R for emacs-devel@gnu.org; Wed, 18 Jul 2018 10:07:12 -0400 Original-Received: from [195.159.176.226] (port=45492 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffn6i-0000uQ-Nx for emacs-devel@gnu.org; Wed, 18 Jul 2018 10:07:08 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ffn4V-0006nl-FF for emacs-devel@gnu.org; Wed, 18 Jul 2018 16:04:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:t86DXWK3p/tzGq68MHGRSrhqRLY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:227545 Archived-At: On Wed 18 Jul 2018, Clément Pit-Claudel wrote: > On 2018-07-18 09:18, Stefan Monnier wrote: >>>> For example, (eql 0.0e+NaN -0.0e+NaN) now returns t >>>> because the two NaNs have different signs; formerly it returned nil. >>> Should this be the other way around ? >> You mean it's (eql -0.0e+NaN 0.0e+NaN) which should return t? >> Shouldn't `eql` be commutative? > > No, I mean that Paul wrote 't' where he meant 'nil' and 'nil' where he meant 't'. I agree: ELISP> emacs-repository-version "c70d22f70b77b053d01c7380122d166ecb728610" ELISP> (eql 0.0e+NaN 0.0e+NaN) t ELISP> (eql -0.0e+NaN -0.0e+NaN) t ELISP> (eql 0.0e+NaN -0.0e+NaN) nil ELISP> (eql -0.0e+NaN 0.0e+NaN) nil