Closed videlec closed 9 years ago
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
CC: @sagetrac-tmonteil @seblabbe
Component: numerical
Author: Vincent Delecroix
Branch/Commit: d6bea26
d6bea26
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/18065
Commit: d6bea26
Branch: u/vdelecroix/18065
New commits:
Trac 18065: .value() for continued_fraction
Changed branch from u/vdelecroix/18065 to d6bea26
We let .value() for continued fractions return a real lazy field element when there is no other possibilities. For example
CC: @sagetrac-tmonteil @seblabbe
Component: numerical
Author: Vincent Delecroix
Branch/Commit:
d6bea26
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/18065