-
-
Notifications
You must be signed in to change notification settings - Fork 564
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
Make atan2(0,0) consistent #11423
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
I made a patch to pynac yield the following. I'll try to push the patch into the new pynac release at #9880.
|
Changed keywords from none to sd31 |
comment:3
Should that be reported upstream? Just curious. |
comment:4
GiNaC probably got
MMA prints an error like Maxima:
Titus points out that with Volker's patch, |
Author: Volker Braun, Titus Nicolae |
comment:5
Pynac 0.2.4 (#12950), includes the patch Volker mentioned in comment:2. Attached to that ticket there is also a patch by Titus fixing failing doctests in symbolics related files and modifying the Apparently this change breaks some tests in 3d plotting. We should open a ticket with that and make this one depend on it. Titus, can you handle that? |
comment:6
And please cc me on that ticket, thanks. |
comment:7
This was fixed with #12950. |
Reviewer: Burcin Erocal |
Changed reviewer from Burcin Erocal to Volker Braun, Titus Nicolae, Burcin Erocal |
Changed author from Volker Braun, Titus Nicolae to none |
This is bad:
Probably we should make sure that atan2(0,0) always raises an error. Wolfram Alpha/Mathematica gives the interval from -pi to pi, which seems as good as any answer, and who knows what others do.
Originally reported at ask.sagemath.org.
CC: @sagetrac-titusn
Component: symbolics
Keywords: sd31
Reviewer: Volker Braun, Titus Nicolae, Burcin Erocal
Issue created by migration from https://trac.sagemath.org/ticket/11423
The text was updated successfully, but these errors were encountered: