We can implement a polynomial approximation of math.tan by
decomposing to math.sin and math.cos. While it is not
technically a polynomial approximation it should be the most
straight forward approximation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Could we just have it in its own group/approximations pass? (Well and we can populate with patterns from polynomial if needed). Just feels wrong to have this in polynomial
Comment Actions
I moved it to the ExpandMath patterns. Should be reasonable enough and it can be included optionally this way.