summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'math.c')
-rw-r--r--math.c3
1 files changed, 3 insertions, 0 deletions
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 <i>numeric</i>.
+ * If additional second argument is given, it will be the base
+ * of logarithm.
*/
static VALUE