Closed jdemeyer closed 6 years ago
Wait, so if we're getting rid of ContinuedFractionField
, what is the right way to get continued fractions for real numbers?
Replying to @roed314:
Wait, so if we're getting rid of
ContinuedFractionField
, what is the right way to get continued fractions for real numbers?
sage: continued_fraction(pi)
[3; 7, 15, 1, 292, 1, 1, 1, 2, 1, 3, 1, 14, 2, 1, 1, 2, 2, 2, 2, ...]
Okay. I think it would be useful to have continued_fraction
methods on real numbers and elements of the symbolic ring, but that can be for another ticket.
Dependencies: #24337
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
3d47c2f | Remove ContinuedFractionField |
Reviewer: Travis Scrimshaw
LGTM (the patchbot failure should be handled by #24337).
Changed branch from u/jdemeyer/remove_continuedfractionfield to 3d47c2f
Deprecated in #20012
Depends on #24337
Component: basic arithmetic
Author: Jeroen Demeyer
Branch/Commit:
3d47c2f
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/24115