http://llvm.org/bugs/show_bug.cgi?id=14857
Bug #: 14857
Summary: complex divide wrong
Product: clang
Version: 3.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
C99 and C11 Annex G has:
G.5.1#4, item 2:
if the first operand is an infinity and the second operand is a
finite number, then the result of the / operator is an infinity;
clang violates that for many cases, such as:
(0.0+inf*I)/(0.0+0.0*I)
(0.0+inf*I)/(0.0+maximum*I)
(0.0+inf*I)/(min+max*I)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs