sepavloff added a comment.

In D141765#4059214 <https://reviews.llvm.org/D141765#4059214>, @kpn wrote:

> Are we testing _Complex multiply or subtraction anywhere? I have a vague 
> memory of multiply not working correctly.

There is a test `clang/test/CodeGen/complex-math.c` that checks complex 
operations including subtraction and multiplication. The check for 
multiplication is not thorough however. And only default FP environment is 
checked.

IIRC spec2017 contains a test that uses C99 complex numbers. If there were 
issues, I think they would be reported.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141765/new/

https://reviews.llvm.org/D141765

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to