[LLVMbugs] [Bug 16645] New: real * complex done wrong

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 17 07:28:24 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16645

            Bug ID: 16645
           Summary: real * complex done wrong
           Product: clang
           Version: 3.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tydeman at tybor.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

A real value times a complex value is done wrong. For example:
 0.0 * ( 0.0 + infinity*I)
 infinity * ( infinity + infinity*I )
where I is an imaginary I

#define _Imaginary_I (__extension__ 1.0iF) /* from /usr/include/complex.h */
#define I _Imaginary_I

clang -v
clang version 3.3 (tags/RELEASE_33/rc3)
Target: x86_64-redhat-linux-gnu
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130717/b8861c5c/attachment.html>


More information about the llvm-bugs mailing list