diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-16 11:12:11 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-16 11:12:11 +0000 |
commit | a9e13cc40c9854869594023571bfd03c44c33e77 (patch) | |
tree | 51f81cce5f449343cc4afed839f69fc0bc461e99 /math.c | |
parent | 163163afdfc6cc3f61a2a157b1242fe21a1152e3 (diff) |
* math.c (math_log): update document to mention second optional
argument for logarithm base.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -305,8 +305,11 @@ math_exp(VALUE obj, VALUE x) /* * call-seq: * Math.log(numeric) => float + * Math.log(num,base) => float * * Returns the natural logarithm of <i>numeric</i>. + * If additional second argument is given, it will be the base + * of logarithm. */ static VALUE |