herbie-fp / herbie

Optimize floating-point expressions for accuracy

Home Page:https://herbie.uwplse.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`cos(3pi/2 - x)` from Kenny

pavpanchekha opened this issue · comments

Kenny found that cos(3pi/2 - x) doesn't simplify to -sin(x), even though it should, and looks like that's also present on demo:

https://herbie.uwplse.org/demo/47181be56515163c1d89659f8be27513d3f41603.6d367899f2f00931524a4d7b6d68efd5adde08f8/graph.html