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

improve warning message according to approximation mode #674

Open
howaboutuser opened this issue Jun 25, 2024 · 0 comments
Open

improve warning message according to approximation mode #674

howaboutuser opened this issue Jun 25, 2024 · 0 comments

Comments

@howaboutuser
Copy link

howaboutuser commented Jun 25, 2024

set approximation exact
set angle rad
(cosx+cotx)/(cscx+1)

warning: To avoid division by zero, the following must be true: x ≠ 3.141592654n.
warning: To avoid division by zero, the following must be true: x ≠ 3.141592654n − 1.570796327.
(cos(x radians) + cot(x radians)) / (csc(x radians) + 1) = (2 × cos(x) + sin(2x)) / (2 + 2 × sin(x))

Expect pi and pi/2 instead of 3.141592654 and 1.570796327.

@howaboutuser howaboutuser changed the title improve warning message in rad mode improve warning message according to approximate mode Jun 26, 2024
@howaboutuser howaboutuser changed the title improve warning message according to approximate mode improve warning message according to approximation mode Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant