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
Document that find_root only works in fixed (double) precision #8348
Comments
comment:2
This is about adding capability not currently present, so should be an enhancement. |
comment:3
I do not agree. The documentation does not say that |
comment:4
The docs for find_root don't imply that it uses arbitrary precision to me, so I agree it's an omission, but not a bug (i.e., it doesn't claim one thing and do another). The only mention of precision in the docs (in the xtol and rtol parameters) implies that things work with double precision. But this is a minor point. I was trying to clean up the large number of tickets that are classified as "bugs" (which to me means things that Sage claims should work, but don't). In this case, the error returned indicates that find_root knows nothing about a prec argument, which is appropriate. I've switched it back so we don't waste any more time fretting about how to classify this ticket. |
Author: Paul Zimmermann |
comment:6
Attachment: trac_8348.patch.gz the attached patch (produced against Sage 5.9) adds documentation to Paul |
Branch: u/mmezzarobba/8348-find_root_doc |
Reviewer: Marc Mezzarobba |
comment:7
LGTM. Replying to @zimmermann6:
Only (part of) the documentation is duplicated; one of the function is a wrapper for the other. It is unfortunate indeed, but that's a problem that occurs everywhere in Sage, so I don't think it really makes sense to open a ticket for that particular instance. New commits:
|
Commit: |
How can one approximate the root of an equation in arbitrary
precision? For example I want the root of log(x+2) = x to
50 digits of precision:
CC: @williamstein
Component: basic arithmetic
Author: Paul Zimmermann
Branch/Commit: u/mmezzarobba/8348-find_root_doc @
98bdbcc
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/8348
The text was updated successfully, but these errors were encountered: