-
-
Notifications
You must be signed in to change notification settings - Fork 487
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 sin(0), log(1) and similar expressions return Sage integers, not Python ints #10133
Comments
comment:1
#10972 was closed as a duplicate. Ironic that I reported both, though in my defense, that ticket does list a few specific functions beyond log for which that happens, and it was 8 months ago :) |
comment:2
ping. I just noticed this in a different context. |
This comment has been minimized.
This comment has been minimized.
comment:4
See also this sage-devel thread. |
comment:5
See also this sage-devel thread, where it seems that the consensus is that such things should give Sage |
Changed keywords from none to type coercion symbolic |
Dependencies: #17130 |
Author: Jeroen Demeyer |
Branch: u/jdemeyer/ticket/10133 |
Commit: |
New commits:
|
comment:15
Looks good and passes |
Reviewer: Ralf Stephan |
Changed branch from u/jdemeyer/ticket/10133 to |
comment:17
Actually this should have been fixed in Pynac. Now, accidentally the recent patches dealing with pynac/pynac#7 automatically produce this behaviour. Which will be Pynac-0.4.4. The wrapper from this ticket should then be removed. |
Changed commit from |
From this thread:
This ticket's goal is to implement one of these solutions (that is, catch this in function.pyx or in Pynac).
We might as well also deal with
sin(0), tan(0), sin(pi)
from #10972 here as well, otherwise that really wasn't a duplicate.Depends on #17130
CC: @eviatarbach
Component: symbolics
Keywords: type coercion symbolic
Author: Jeroen Demeyer
Branch:
c8c26e1
Reviewer: Ralf Stephan
Issue created by migration from https://trac.sagemath.org/ticket/10133
The text was updated successfully, but these errors were encountered: