search for: 7c1c2441d90c5b4d3c4e6408d7467aa4cc

Displaying 2 results from an estimated 2 matches for "7c1c2441d90c5b4d3c4e6408d7467aa4cc".

2019 Oct 01
2
PR43374 - when should comparing NaN values raise a floating point exception?
...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.llvm.org%2Fshow_bug.cgi%3Fid%3D43374&amp;data=02%7C01%7CKevin.Neal%40sas.com%7C1c2441d90c5b4d3c4e6408d7467aa4cc%7Cb1c14d5c362545b3a4309552373a0c2f%7C0%7C0%7C637055364875886682&amp;sdata=7LPxf1%2BSB9lxwSjQhmEW%2FgxI997UVSo6h1XkGUrnapo%3D&amp;reserved=0, 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. > &...
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