#3750: [with patch, positive review] Request for a "log" function for Sage
integers
------------------------------+---------------------------------------------
Reporter: ljpk | Owner: kcrisman
Type: defect | Status: assigned
Priority: minor | Milestone: sage-3.2.1
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Changes (by kcrisman):
* summary: [with patch, needs work] Request for a "log" function for
Sage integers => [with patch, positive review]
Request for a "log" function for Sage integers
Comment:
This works! I was going to use q.is_power_of(q0), but as far as I can
tell there isn't any meaningful difference between these solutions. Use
integer-log-exp-final.patch and trac_3750-fix.patch. I assume I can
review mhansen's fix; if not, my apologies.
To be honest, how was this working before, when the symbolic logs didn't
have an integer_part() method to begin with?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3750#comment:13>
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
-~----------~----~----~----~------~----~------~--~---