From a9e13cc40c9854869594023571bfd03c44c33e77 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 16 Feb 2007 11:12:11 +0000 Subject: * 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 --- math.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'math.c') diff --git a/math.c b/math.c index 2675c71e6d..bd02849002 100644 --- a/math.c +++ b/math.c @@ -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 numeric. + * If additional second argument is given, it will be the base + * of logarithm. */ static VALUE -- cgit v1.2.3