aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-12 04:09:24 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-12 04:09:24 +0000
commit68261c06b52a0336b2b83f3e2ef29ea91f11f0f1 (patch)
tree5d40ecc1eae906551228d0b15fb7d8b2165fca54 /numeric.c
parent75521b8c1dcca12cc3e8fa9fc670fd2a67dcde63 (diff)
downloadruby-68261c06b52a0336b2b83f3e2ef29ea91f11f0f1.tar.gz
numeric.c: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 6d098368df..f51f398b4f 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1109,7 +1109,7 @@ rb_flo_div_flo(VALUE x, VALUE y)
{
double num = RFLOAT_VALUE(x);
double den = RFLOAT_VALUE(y);
- double ret = double_div_double(x, y);
+ double ret = double_div_double(num, den);
return DBL2NUM(ret);
}