[LLVMbugs] [Bug 14857] New: complex divide wrong
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 8 16:34:09 PST 2013
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: unassignedclangbugs at nondot.org
ReportedBy: tydeman at tybor.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list