From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: feature/native-comp 5bc0855 2/2: Don't treat '=' as simple equality emitting constraints (bug#46812) Date: Tue, 2 Mar 2021 14:16:24 +0000 Message-ID: References: <20210228230215.15472.12941@vcs0.savannah.gnu.org> <20210228230217.1971E20E1B@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7598"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 02 15:18:50 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lH5rO-0001q0-0p for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Mar 2021 15:18:50 +0100 Original-Received: from localhost ([::1]:49120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lH5rN-0002Qh-18 for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Mar 2021 09:18:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lH5pf-0001V7-Ej for emacs-devel@gnu.org; Tue, 02 Mar 2021 09:17:03 -0500 Original-Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]:39697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lH5pd-000820-W1 for emacs-devel@gnu.org; Tue, 02 Mar 2021 09:17:03 -0500 Original-Received: by mail-oi1-x232.google.com with SMTP id z126so22078553oiz.6 for ; Tue, 02 Mar 2021 06:17:01 -0800 (PST) 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=2dguYnW3t0lFBEYiDxNKDv8vgUsLK07Qx4tV7zvu/PM=; b=al+AqizMgEEq26XKvsOXXAvQmVNClPz+1/CwK+i2skcTzwaPrrOfl9hNUlsJLJz3Yh FaIlwiZLy9rXX4kIh1uBvb0C+feEBTql65be3xq9CePYGwQfHA+KwcuEm027dcPfRGh/ WH6UC05sTm2pkSrmkyIYWkgl+ajMawZ64XPSWV94sn5RSJZqUe2pLraHcGuNBsCPPb5G tYCsSaf1wQTQq+jjjOzyS/YnxNvJwbCadxiydDZ1gAGLJWGzsRTVe6azupxX6UnOFIqi yq511FzE4X4//jj/4QQlsro4KJjVCGW8ief8oSkX4L7AxC/vd4aLxIVhnGUdCYBmz3L+ Szig== 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=2dguYnW3t0lFBEYiDxNKDv8vgUsLK07Qx4tV7zvu/PM=; b=tcjcqgF22NRCjDO5Kb8mG5lQiNku44E0f6JD06AEpiIeQT+GP6vG71cQxxa4VJCfs2 zHvryu6bZesRF8sJE/eOwKLLob696DmDRqarIaPsjtQNHghT8YKFS3HjWbwjQLoylSR3 QokOOexYZ/9icE8y9DXVBZ8SHyA2lKyC7shZElq+f0Hrn6i9cDW8qFoGhcvxyIgMNE9p 5O9DRy03+vls3Xkto61l+j7H8m2Zz+vQqPrN9Apfx5JtwAIfNcR+s1u0IieXU5ubq8ap Fw6zTgZmPf3OCV/DXTGhOa5RzAyd/RVd/n5B5jKlofJfC7AHPCrsjQV8vmejEthOJE6V 8HoQ== X-Gm-Message-State: AOAM5300iRG+1zvLmEIB3sTyiwj+qKyP7PUqgtXClNAnqenX4e31yb6n vZMBH+XLTAuv3JvFy/03RIHeHOJENIhOJSjXqh4= X-Google-Smtp-Source: ABdhPJwKClNjexdTAQDEu0fHtR6ExKi2FDDt1q829SyWMgfVW1vuR8m27gqsE1ZI+NRstCdthug3ErjgAoEFg0g4bfU= X-Received: by 2002:a54:4791:: with SMTP id o17mr3255265oic.30.1614694620767; Tue, 02 Mar 2021 06:17:00 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::232; envelope-from=pipcet@gmail.com; helo=mail-oi1-x232.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265830 Archived-At: On Tue, Mar 2, 2021 at 1:47 PM Andrea Corallo wrote: > > It's not working either, as far as I can tell: (lambda (x) (and > > (floatp x) (= x 0) x)) always returns nil when compiled. > > Right, I think a better approach is to relax the inputs before > intersecting them so intersection is not cutting off already constrained > inputs. That should work. > 8c7228e8cd for now follows this conservative approach and adds > some testing for the case. Indeed, and it breaks trying to compile (lambda (x) (unless (= x 1.0e+INF) (error "")) x). (And please don't forget NaNs, they're numbers too! Except they're not.) Pip