Ticket #12113 (closed enhancement: fixed)
Add minor clarification about logs with bases other than e
|Reported by:||kcrisman||Owned by:||mvngu|
|Report Upstream:||N/A||Reviewers:||Travis Scrimshaw|
|Authors:||Yoora Yi Tenen||Merged in:||sage-5.6.beta0|
Description (last modified by tscrim) (diff)
See this ask.sagemath.org question. Essentially, the poster requests (and it seems reasonable) to add a couple more examples of this. E.g.,
If you could make this change it would be great: "EXAMPLES: sage: log(e^2)" : To something like: EXAMPLES: To change the base of the logarithm, add a second parameter. sage: log(1000,10) 3 Small change but helpful!
This is implicit in the examples, but since the first line is just
Return the logarithm of x to the given base.
and not everyone will understand
File: /Users/.../sage-4.7.2/local/lib/python2.6/site-packages/sage/functions/log.py Definition: log(x, base=None) Docstring: Return the logarithm of x to the given base.
Sounds like a good beginner ticket.
- Status changed from needs_review to needs_work
- Reviewers set to Travis Scrimshaw
- Status changed from needs_work to needs_review
- Authors set to Yoora Yi Tenen