-
-
Notifications
You must be signed in to change notification settings - Fork 601
doctest trigonometric functions for complex input #16491
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
Labels
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
Everything except point 2 seems to be fixed so I'm changing the title.
|
comment:4
I get now:
So this seems fixed. |
comment:5
What about adding doctests? |
New commits:
|
Author: Ralf Stephan |
Commit: |
Reviewer: Vincent Delecroix |
Changed branch from u/rws/unify_output_of_trigonometric_functions_for_complex_input to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a follow up to #16439.
The functions
atan, acos, asin
giveTypeError
on Pythoncomplex
input.The output of trigonometric functions are inconsistent depending on whether
complex
orCDF
orCC
is used as the input type.From #16439 discussion by @kcrisman:
Just one point - almost certainly some of those digits are 'extra' from Python. Compare (after this):
Interesting.
Here is something else I don't know what to do with.
One would think this should be the same type of output.
That said, SR is useful for some other cases of exact input.
I'm wondering whether we want to try to fix all of this here, though.
CC: @burcin @kcrisman @rwst
Component: symbolics
Author: Ralf Stephan
Branch/Commit:
5e18f34
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/16491
The text was updated successfully, but these errors were encountered: