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); }