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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to