#5107: incorrect trailing digits for continued fraction
------------------------------+---------------------------------------------
Reporter: robertwb | Owner: somebody
Type: defect | Status: new
Priority: critical | Milestone: sage-3.4
Component: basic arithmetic | Keywords:
------------------------------+---------------------------------------------
{{{
continued_fraction(sqrt(2))
[1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1]
the last two digits are incorrect
continued_fraction(sqrt(109))
[10, 2, 3, 1, 2, 4, 1, 6, 6, 1, 4, 2, 1, 3, 2, 20, 3]
the last digit (3) is incorrect
}}}
See http://groups.google.com/group/sage-
devel/browse_thread/thread/ab840e109863fcf3/c38d571a161b7628
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5107>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---