bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37140: 27.0.50; calc gives "Wrong type argument: number-or-marker-p,


From: Mattias Engdegård
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

>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?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]