#4497: Implement the function log10
------------------------------+---------------------------------------------
 Reporter:  TimothyClemans    |        Owner:  somebody  
     Type:  enhancement       |       Status:  new       
 Priority:  minor             |    Milestone:  sage-3.2.1
Component:  basic arithmetic  |   Resolution:            
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by mabshoff):

 Why this ticket? We already have
 {{{
 sage: log_b?
 Type:           function
 Base Class:     <type 'function'>
 String Form:    <function log at 0x29b33f0>
 Namespace:      Interactive
 File:
 /Users/michaelabshoff/Desktop/sage-3.1.3.rc0/local/lib/python2.5/site-
 packages/sage/misc/functional.py
 Definition:     log_b(x, b=None)
 Docstring:

         Return the log of x to the base b.  The default base is e.

         INPUT:
             x -- number
             b -- base (default: None, which means natural log)

         OUTPUT:
             number

         NOTE: In Magma, the order of arguments is reversed from in
         SAGE, i.e., the base is given first.  We use the opposite
         ordering, so the base can be viewed as an optional second
         argument.
 }}}
 One could obviously implement log10, but why pollute the global namespace
 even more?

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4497#comment:1>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to