#6658: digits() claims it defaults to base 2, but it defaults to base 10
------------------------------+---------------------------------------------
Reporter: ddrake | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.1
Component: basic arithmetic | Keywords:
Reviewer: | Author:
Merged: |
------------------------------+---------------------------------------------
{{{
sage: x = 1729
sage: x.digits()
[9, 2, 7, 1]
}}}
but the docstring for {{{digits()}}} claims it defaults to base 2. The
attached patch fixes this; thanks to Yasuhide NUMATA at the *-combinat
meeting for noticing this. I would have shown him how to make a patch and
upload it to trac, but their wireless network was down at the time.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6658>
Sage <http://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 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
-~----------~----~----~----~------~----~------~--~---