From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: Making 'eq' == 'eql' in bignum branch Date: Tue, 28 Aug 2018 02:25:20 +0000 Message-ID: References: <29f933ac-a6bf-8742-66a7-0a9d6d3e5a88@disroot.org> <87lgaio7xd.fsf@tromey.com> <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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1535423095 4755 195.159.176.226 (28 Aug 2018 02:24:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 28 Aug 2018 02:24:55 +0000 (UTC) Cc: cpitclaudel@gmail.com, emacs-devel@gnu.org To: larsi@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 28 04:24:51 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 1fuTgZ-0001Ab-4N for ged-emacs-devel@m.gmane.org; Tue, 28 Aug 2018 04:24:51 +0200 Original-Received: from localhost ([::1]:35938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuTif-0002ug-GJ for ged-emacs-devel@m.gmane.org; Mon, 27 Aug 2018 22:27:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuThr-0002uT-Oj for emacs-devel@gnu.org; Mon, 27 Aug 2018 22:26:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuThl-0002i3-TV for emacs-devel@gnu.org; Mon, 27 Aug 2018 22:26:11 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:40656) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fuThl-0002hW-Lw for emacs-devel@gnu.org; Mon, 27 Aug 2018 22:26:05 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id j19-v6so47449ljc.7 for ; Mon, 27 Aug 2018 19:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jpXO5vvjG+9hgklfO+M0Bk6ME/ttosSGD1OhYcy3I3c=; b=tLGa80EC4JM1w9cTw9O3XMyTrPVEWiZR4j/pdkf22qD6SzdtPnfoKu58hmH0G8Jubk tJ8ArHuLi6wdySWxKM5PgtHUvZgNiV3uBkQlPorg6ryep15hnKk1qrzwVwnT0EzW6DGG nDyj4ZC/Clxp2tk4GDj6deSP//UsWnNQMiNOL/gGrkXlI23j8+oEh580qcir4NdVFD0l ttgxiPeIdd2UOZgO0odTjObf6n8YN9Xk0EIUF7ZBD5AB8giwozdkSCUNzLVu/m7gL5az 9At4ywrxW47A37+bRrE41dBxI3sbOEaWvmP5yYhHGL9sXN99oiXqp9+lH7ouukElxw4I yDUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jpXO5vvjG+9hgklfO+M0Bk6ME/ttosSGD1OhYcy3I3c=; b=fdMMQiCbW+CNBzUesjywb+ONtBtEcw1GgKUqyazukX8KMuivlT93CDC771wYshQEPX CdKVhvnuALmgLoksk5zlrulxllet7yEBmYdNbvZhXpG2EUDP98zVT24OA3KvRkU8Bg60 MpCTFvK7QAtVtIjLcjAWvQIBvB7ATaB+uTDWeviHDJEFzGe2UMLv8uPAnQdEAZ1W1LbL eHPz33CJeWfrURA4H1eTvLZX4uP6nqGDEYkS97UgDNZyGDpdwcrZJ7LPoChGHZqzhsJr u7zZzz9WKtRRBMrtqtDhckFh3WVxEMuOpIeR8h5dQdlOpGi23WMzHBUqSYNGWBM//sal Bu+g== X-Gm-Message-State: APzg51BNS2TJ2YfxjNMoomC0lbKoDXrmf9jtlJApli24yeOkdEKe65Ta 1ze+/ebTfS6quUaTYvGZwwwalzsiHuCjc6giSzI= X-Google-Smtp-Source: ANB0VdagxjSpxF/Cx4b0TZ5aEHAGnGXATQUSlL9JUc8RhyjEiIS8TL9PKUg61ucNsu8xET9bsPiaLrfJRsQ1SxBt5I0= X-Received: by 2002:a2e:9cd0:: with SMTP id g16-v6mr10602299ljj.110.1535423164067; Mon, 27 Aug 2018 19:26:04 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22f 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:228994 Archived-At: On Tue, Aug 28, 2018 at 1:50 AM Lars Ingebrigtsen wrote: > But anyway, as Richard implies, it's a read syntax that's strangely > difficult to remember. Would it make sense to have a variable like > `positive-infinity' (etc) or `math-positive-infinity'? Or perhaps we'll > all start remembering it after seeing it sprinkled throughout the source > code after a while. How about making (min) = 1.0e+INF and (max) = -1.0e+INF? That would be easier to type, and it's mathematically correct. We could even optimize it in the bytecode compiler.