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

            Bug ID: 52574
           Summary: char from large FP value not raise 'invalid'
           Product: clang
           Version: 12.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C
          Assignee: unassignedclangb...@nondot.org
          Reporter: tyde...@tybor.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

Conversions of large floating-point (FP) values to many integer types does not
raise FP_INVALID as required by IEEE-754 and Annex F in C standard.

Sample code can be found at:
  http://www.tybor.com/tflt2int.c

The problem exists on (at least) both ARM and Intel x86/x87/sse

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

Reply via email to