From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#37140: 27.0.50; calc gives "Wrong type argument: number-or-marker-p, inf" to many operations Date: Tue, 27 Aug 2019 19:26:28 -0400 Message-ID: References: <82A27C89-ECB1-43A3-8A7D-AF49158EA1E0@acm.org> <83pnkuivwy.fsf@gnu.org> <83o90eivq4.fsf@gnu.org> <97F7BA56-6E8C-45BA-878C-55DD91D4C3AB@acm.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="7913"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37140@debbugs.gnu.org, huszaghmatt@gmail.com, npostavs@gmail.com To: Mattias =?UTF-8?Q?Engdeg=C3=83=C2=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 28 01:27:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i2krm-0001vp-Re for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Aug 2019 01:27:10 +0200 Original-Received: from localhost ([::1]:59702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2krl-0005zW-Pj for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2019 19:27:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50723) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2krf-0005z8-1P for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 19:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2krd-0004HK-VL for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 19:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2krd-0004HC-SG for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 19:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i2krd-0004ge-Nv for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 19:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Aug 2019 23:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37140 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 37140-submit@debbugs.gnu.org id=B37140.156694839717964 (code B ref 37140); Tue, 27 Aug 2019 23:27:01 +0000 Original-Received: (at 37140) by debbugs.gnu.org; 27 Aug 2019 23:26:37 +0000 Original-Received: from localhost ([127.0.0.1]:49596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2krE-0004ff-Ut for submit@debbugs.gnu.org; Tue, 27 Aug 2019 19:26:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2krC-0004fM-WC for 37140@debbugs.gnu.org; Tue, 27 Aug 2019 19:26:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i2kr7-000409-QI; Tue, 27 Aug 2019 19:26:29 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1i2kr6-0000oS-Je; Tue, 27 Aug 2019 19:26:28 -0400 In-Reply-To: <97F7BA56-6E8C-45BA-878C-55DD91D4C3AB@acm.org> (message from Mattias =?UTF-8?Q?Engdeg=C3=83=C2=A5rd?= on Tue, 27 Aug 2019 12:39:23 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165986 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I have no strong opinion on how best to detect broken infinity > handling, but will just note that ±Inf are useful even in > integer-only code as identities for `min' and `max' and similar > code --- in fact, more so now that there is no longer a greatest > integer. I agree, but I am arguing for a stronger conclusion. Handling infinite floats is a feature of Emacs, so if they don't work, that is a bug. Compiling Emacs with -ffinite-math-only causes this bug, so we cannot support that mode of compilation. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)