Displaying 4 results from an estimated 4 matches for "pr43374".
Did you mean:
pr42474
2019 Oct 08
2
PR43374 - when should comparing NaN values raise a floating point exception?
* Sanjay Patel <spatel at rotateright.com> [2019-10-08 08:07:10 -0400]:
> On Tue, Oct 8, 2019 at 7:08 AM Szabolcs Nagy <nsz at port70.net> wrote:
> > why is that ok?
> >
>
> Because there are no FP exceptions/signals for this IR opcode:
> http://llvm.org/docs/LangRef.html#floating-point-environment
so llvm cannot support an iso c frontend on an ieee754 target?
2019 Oct 01
2
PR43374 - when should comparing NaN values raise a floating point exception?
...ge-----
From: Cameron McInally <cameron.mcinally at nyu.edu>
Sent: Tuesday, October 01, 2019 10:21 AM
To: Kristof Beyls <Kristof.Beyls at arm.com>
Cc: llvm-dev <llvm-dev at lists.llvm.org>; nd <nd at arm.com>; Kevin Neal <Kevin.Neal at sas.com>
Subject: Re: [llvm-dev] PR43374 - when should comparing NaN values raise a floating point exception?
EXTERNAL
On Tue, Oct 1, 2019 at 5:45 AM Kristof Beyls via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> Hi,
>
> I’ve been investigating https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs....
2019 Oct 08
2
PR43374 - when should comparing NaN values raise a floating point exception?
* Sanjay Patel via llvm-dev <llvm-dev at lists.llvm.org> [2019-10-01 09:44:54 -0400]:
> Let's change the example to eliminate suspects:
> #include <math.h>
> int is_nan(float x) {
> /*
> The following subclauses provide macros that are quiet (non
> floating-point exception raising)
> versions of the relational operators, and other comparison
2019 Oct 01
5
PR43374 - when should comparing NaN values raise a floating point exception?
Hi,
I’ve been investigating https://bugs.llvm.org/show_bug.cgi?id=43374, which is about clang/llvm producing code that triggers a floating point exception when x is NaN, when targeting ARM, in the below code example.
int bar(float x) {
return x!=x ? 0 : 1;
}
The C99 standard states in section 7.12.14:
"""
The relational and equality operators support the usual mathematical