-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
serious problems with how ceil and floor are computed symbolically #1289
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
Since this is a maxima issue as well, I posted about it upstream: |
Attachment: 1289.patch.gz |
comment:5
Some irc conversation about this with examples:
Then Carl Witty comes to the rescue:
|
Attachment: 1289.2.patch.gz |
comment:6
New patch up implementing the interval method. |
comment:7
Positive review by wstein. Merged in Sage 2.10.alpha4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These are mostly the result of maxima getting used at some point to do the computation (except the one that leaves floor(a) symbolic?!)
Basically the ceil and floor need to be improved to not fall back on Maxima,
but hopefully do something more sensible, especially when large numbers are
involved.
I think this is an extremely important bug to fix, since it is something
that will come up in practice and produce wrong results, e.g., in a recent
patch by Dan Drake posted on sage-devel it did.
This is related to trac #1286.
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/1289
The text was updated successfully, but these errors were encountered: