all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: 37140@debbugs.gnu.org, huszaghmatt@gmail.com, npostavs@gmail.com
Subject: bug#37140: 27.0.50; calc gives "Wrong type argument: number-or-marker-p, inf" to many operations
Date: Sat, 24 Aug 2019 19:02:37 -0400	[thread overview]
Message-ID: <E1i1f3N-0006ms-Qg@fencepost.gnu.org> (raw)
In-Reply-To: <F31A5247-B454-40AF-A4CD-01C90C92EE71@acm.org> (message from Mattias Engdegård on Sat, 24 Aug 2019 20:38:42 +0200)

[[[ 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. ]]]

  > In other words, the route to the error was somewhat roundabout,
  > but it looks like there is no actual bug in Emacs nor in gcc. But
  > at least I didn't know that, and was enlightened by the result.

Whether it is a bug in Emacs is a matter of judgment / definition.  We
could say, "Don't compile Emacs with -ffinite-math-only", in which
case this is not a bug in Emacs.  Or we could consider
-ffinite-math-only legit, in which case this is a bug in Emacs.

We might want to do the latter IF (1) this bug would be easy to fix
and (2) there wouldn't be other problems as a result.  I suspect
this one problem would be easy to fix.

If Emacs is supposed to handle infinite floats, then compiling with
-ffinite-math-only is inescapably bad because it will make the
infinite floats fail to work.

In that case, maybe we should put in something to report an error
for certain if Emacs is compiled with -ffinite-math-only.
One way would be to run some code at startup which ought to
generate an infinity. tests that it did so, and otherwise
gives a clear fatal error message.




-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







  reply	other threads:[~2019-08-24 23:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-22  4:40 bug#37140: 27.0.50; calc gives "Wrong type argument: number-or-marker-p, inf" to many operations Matt Huszagh
2019-08-22 13:08 ` Noam Postavsky
2019-08-22 19:07   ` Matt Huszagh
2019-08-23  7:02     ` Eli Zaretskii
2019-08-23 17:33       ` Matt Huszagh
2019-08-23 18:11         ` Stefan Kangas
2019-08-23 19:47           ` Glenn Morris
2019-08-23 20:13             ` Eli Zaretskii
2019-08-24 12:08 ` Mattias Engdegård
2019-08-24 12:34   ` Eli Zaretskii
2019-08-24 12:38     ` Eli Zaretskii
2019-08-24 18:38       ` Mattias Engdegård
2019-08-24 23:02         ` Richard Stallman [this message]
2019-08-27 10:39           ` Mattias Engdegård
2019-08-27 23:26             ` Richard Stallman
2019-08-28  9:00               ` Andreas Schwab
2019-08-29 10:32                 ` Mattias Engdegård
2019-08-29 10:36                   ` Andreas Schwab
2019-08-29 10:50                     ` Mattias Engdegård
2019-08-29 12:36                   ` Eli Zaretskii
2019-08-29 12:39                     ` Eli Zaretskii
2019-08-30 13:13                       ` Mattias Engdegård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1i1f3N-0006ms-Qg@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=37140@debbugs.gnu.org \
    --cc=huszaghmatt@gmail.com \
    --cc=mattiase@acm.org \
    --cc=npostavs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.