Issue |
78871
|
Summary |
Simplify sinh(x) / cosh(x) -> tanh(x) with fast-math
|
Labels |
new issue
|
Assignees |
|
Reporter |
k-arrows
|
It seems that the simplification `sin(x) / cos(x) -> tan(x)` has been already implemented, and the same is true for hyperbolic function(s).
https://godbolt.org/z/WqYfKxr7K
For those who are interested in floating-point arithmetic optimization, I think this can be added to https://github.com/llvm/llvm-project/issues/34959.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs