From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: bignum branch Date: Sat, 04 Aug 2018 09:20:53 +0300 Message-ID: <83lg9mtzy2.fsf@gnu.org> 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> <87y3dnyzkl.fsf@tromey.com> <42060bb4-3535-3b03-e007-0ae68134a30b@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533363577 19525 195.159.176.226 (4 Aug 2018 06:19:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Aug 2018 06:19:37 +0000 (UTC) Cc: tom@tromey.com, andrewjmoreton@gmail.com, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 04 08:19:32 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 1flpuW-00050O-L2 for ged-emacs-devel@m.gmane.org; Sat, 04 Aug 2018 08:19:32 +0200 Original-Received: from localhost ([::1]:54074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flpwd-0006lu-9k for ged-emacs-devel@m.gmane.org; Sat, 04 Aug 2018 02:21:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flpw1-0006lp-H0 for emacs-devel@gnu.org; Sat, 04 Aug 2018 02:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flpvy-0005cA-Cn for emacs-devel@gnu.org; Sat, 04 Aug 2018 02:21:05 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flpvy-0005c5-8z; Sat, 04 Aug 2018 02:21:02 -0400 Original-Received: from [176.228.60.248] (port=2379 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1flpvx-0007oW-Ka; Sat, 04 Aug 2018 02:21:02 -0400 In-reply-to: <42060bb4-3535-3b03-e007-0ae68134a30b@cs.ucla.edu> (message from Paul Eggert on Fri, 3 Aug 2018 14:02:04 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:228146 Archived-At: > From: Paul Eggert > Date: Fri, 3 Aug 2018 14:02:04 -0700 > Cc: Andy Moreton , emacs-devel@gnu.org > > > (> 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 > > NaNs never compare numerically equal to, less than, or greater than any > other floating-point value, even other NaNs. This is part of the IEEE > standard. I find it easier to memorize the following rule: "Any comparison with NaN yields FALSE." YMMV.