#10164: Few digits of precision in N().
-----------------------------------+----------------------------------------
Reporter: gerbicz | Owner: jason
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.8
Component: misc | Keywords: N, digits, numerical
approximation beginner
Work_issues: | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Author: Robert Gerbicz, Douglas
McNeil
Merged: | Dependencies:
-----------------------------------+----------------------------------------
Changes (by kcrisman):
* status: needs_review => needs_work
* reviewer: => Karl-Dieter Crisman
* milestone: => sage-4.8
Comment:
> I think it's a step in the right direction, anyhow.
Very clever testing.
Very minor 'needs work' issues:
* I think you could also add as a doctest the example at #12163 (a dup,
more or less). We do like doctesting problems people officially put on
tickets. That sort of example has the added benefit of being a little
easier to read :) Of course, if more than one person disagrees, it's not a
big deal.
* Needs to be done - your doc lines are really long. Compare
{{{
s_real -- a string that defines a real number (or something whose
}}}
to
{{{
Make sure we've rounded up log(10,2) enough to guarantee sufficient
precision (trac #10164).
}}}
Try to shorten those puppies up to the 80-character limit (if I recall
correctly) for fine terminal viewing.
Because this has the potential to do weird things to doctests, I'm not
going to give positive review in any case until I run long tests. But
looks good other than those tiny issues.
Also, a question: I assume it's okay (and already the case, in fact) that
we have MORE digits than "officially requested" by the user.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10164#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.