unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mattias Engdegård" <mattiase@acm.org>
To: huszaghmatt@gmail.com
Cc: 37140@debbugs.gnu.org, Noam Postavsky <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 14:08:23 +0200	[thread overview]
Message-ID: <82A27C89-ECB1-43A3-8A7D-AF49158EA1E0@acm.org> (raw)
In-Reply-To: <87mug16cdx.fsf@gmail.com>

>This appears to be caused by using the -Ofast compiler flag. Using -O3 removes the issue. 

-Ofast isn't supposed to just throw all semantics out of the window; it trades some accuracy and finer points of FP for speed.
It is surprising that using -Ofast makes the compiler incapable of computing sqrt(5.0). For all we know, it could be a bug in Emacs, or in the compiler (whose authors would then very much like to hear about it).

What C compiler and version did you use?






  parent reply	other threads:[~2019-08-24 12:08 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=82A27C89-ECB1-43A3-8A7D-AF49158EA1E0@acm.org \
    --to=mattiase@acm.org \
    --cc=37140@debbugs.gnu.org \
    --cc=huszaghmatt@gmail.com \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).