diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-03 05:28:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-03 05:28:44 +0000 |
commit | 1fd4c7f1f5efff77579172b7ca7ae7e971361919 (patch) | |
tree | a82a4188821ee822804c40d9bff518f71244c525 /math.c | |
parent | a9befcdb08db9940b0bdde96c7447bb4730d3872 (diff) |
math.c: adjust prototype of math_log
* math.c (math_log): adjust prototype as method function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -438,7 +438,7 @@ math_exp(VALUE obj, VALUE x) */ static VALUE -math_log(int argc, VALUE *argv) +math_log(int argc, VALUE *argv, VALUE obj) { VALUE x, base; double d0, d; @@ -895,7 +895,7 @@ exp2(hypot) VALUE rb_math_log(int argc, VALUE *argv) { - return math_log(argc, argv); + return math_log(argc, argv, rb_mMath); } exp1(sin) |