#14567: Refactor continued fractions
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner: vdelecroix
Type: enhancement | Status: closed
Priority: major | Milestone: sage-6.5
Component: number theory | Resolution: fixed
Keywords: continued | Merged in:
fractions, numerical | Reviewers: Ralf Stephan, Thierry
approximation | Monteil
Authors: Vincent Delecroix | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
ec4a4baa149a9b9e74dc32d25745b81059af2e6b|
Dependencies: #13213, #13256, |
#14563 |
-------------------------------------+-------------------------------------
Changes (by was):
* commit: ec4a4baa149a9b9e74dc32d25745b81059af2e6b =>
Comment:
Hey, I just hit an annoying case...
{{{
sage: continued_fraction_list(1.575709393346379)
Error in lines 1-1
Traceback (most recent call last):
...
ValueError: does not know how to compute the continued fraction of
1.57570939334638
}}}
However,
{{{
sage: continued_fraction_list(0 + 1.575709393346379)
[1, 1, 1, 2, 1, 4, 18, 1, 5, 2, 22909319]
}}}
The problem is that RealLiteral and continued fractions no longer work
together...
--
Ticket URL: <http://trac.sagemath.org/ticket/14567#comment:63>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.