ruby-changes:53464
From: shyouhei <ko1@a...>
Date: Mon, 12 Nov 2018 13:09:29 +0900 (JST)
Subject: [ruby-changes:53464] shyouhei:r65680 (trunk): numeric.c: fix typo
shyouhei 2018-11-12 13:09:24 +0900 (Mon, 12 Nov 2018) New Revision: 65680 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65680 Log: numeric.c: fix typo Modified files: trunk/numeric.c Index: numeric.c =================================================================== --- numeric.c (revision 65679) +++ numeric.c (revision 65680) @@ -1109,7 +1109,7 @@ rb_flo_div_flo(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/numeric.c#L1109 { 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); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/