Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The simplification of trigonometric and inverse trigonometric functions is not correct #662

Closed
sys27 opened this issue Jul 28, 2023 · 0 comments · Fixed by #665
Closed
Assignees
Labels
Milestone

Comments

@sys27
Copy link
Owner

sys27 commented Jul 28, 2023

Steps to reproduce the behavior:

  1. cos(arccos(-20)) returns NaN which is correct because the domain of arccos is -1 <= x <= 1.
  2. simplify(cos(arccos(-20))) returns -20. It doesn't take into account the domain of function.
@sys27 sys27 added the bug label Jul 28, 2023
@sys27 sys27 added this to the xFunc 4.3.0 milestone Jul 28, 2023
@sys27 sys27 self-assigned this Aug 1, 2023
sys27 added a commit that referenced this issue Aug 1, 2023
sys27 added a commit that referenced this issue Aug 2, 2023
sys27 added a commit that referenced this issue Aug 2, 2023
sys27 added a commit that referenced this issue Aug 2, 2023
sys27 added a commit that referenced this issue Aug 2, 2023
sys27 added a commit that referenced this issue Aug 3, 2023
sys27 added a commit that referenced this issue Aug 3, 2023
sys27 added a commit that referenced this issue Aug 3, 2023
@sys27 sys27 closed this as completed in #665 Aug 3, 2023
sys27 added a commit that referenced this issue Aug 3, 2023
#662 - The simplification of trigonometric and inverse trigonometric functions is not correct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant