https://bugs.llvm.org/show_bug.cgi?id=43777

            Bug ID: 43777
           Summary: FP initializer using SNAN in expression
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

It appears that an expression using any of the SNAN (signaling NaN) macros used
as the initializer of a floating-point variable is left as a SNAN.  For
example:

static double d = SNAN + 3.;   /* should be a quiet NAN */

The intent is only SNAN, +SNAN, -SNAN should be signaling NaNs, while any other
expression using a signaling NaN should be a quiet NaN.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to