#18065: .value() for all continued fractions
-----------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: PLEASE CHANGE | Status: new
Priority: major | Milestone: sage-6.6
Component: PLEASE CHANGE | Keywords:
Merged in: | Authors: Vincent Delecroix
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+-------------------------------------
We let .value() for continued fractions return a real lazy field element
when there is no other possibilities. For example
{{{
sage: cf = continued_fraction(words.ThueMorseWord([1,2]))
sage: cf
[1; 2, 2, 1, 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 2, 1, 1, 2...]
sage: v = cf.value()
sage: v
1.422388736882786?
sage: v.parent()
Real Lazy Field
sage: v.n(digits=30)
1.42238873688278548834154711602
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/18065>
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.