On Mon, Sep 13, 2010 at 1:30 PM, Marshall Hampton <[email protected]> wrote: > I am guessing this is an indirect effect from this patch: > > http://trac.sagemath.org/sage_trac/ticket/8017 > > but I am not sure. If you do continued_fraction(N(a)) you get the > same answer as before, but I would say this is a bug that shouldn't > need a workaround.
Alastair correctly deduced the issue that it can't tell if the number is less than or greater than 2, what should it do here? > On Sep 13, 11:31 am, Håkan Granath <[email protected]> > wrote: >> In certain cases I get nothing from the continued_fraction function >> in the latest Sage version: >> >> ---------------------------------------------------------------------- >> | Sage Version 4.5.3, Release Date: 2010-09-04 | >> | Type notebook() for the GUI, and license() for information. | >> ---------------------------------------------------------------------- >> sage: a=sqrt(2).n()*sqrt(2) >> sage: continued_fraction(a) >> [] >> >> In version 4.5.2 the output was >> >> [2, 2251799813685248] Which was wrong. - Robert -- 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-support URL: http://www.sagemath.org
