ruby-changes:5940
From: matz <ko1@a...>
Date: Fri, 20 Jun 2008 02:17:54 +0900 (JST)
Subject: [ruby-changes:5940] Ruby:r17448 (trunk): * lib/mathn.rb (Rational::power2): typo fixed.
matz 2008-06-20 02:17:29 +0900 (Fri, 20 Jun 2008) New Revision: 17448 Modified files: trunk/ChangeLog trunk/lib/mathn.rb Log: * lib/mathn.rb (Rational::power2): typo fixed. [ruby-core:17293] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17448&r2=17447&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/mathn.rb?r1=17448&r2=17447&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 17447) +++ ChangeLog (revision 17448) @@ -1,3 +1,7 @@ +Fri Jun 20 02:16:43 2008 Yukihiro Matsumoto <matz@r...> + + * lib/mathn.rb (Rational::power2): typo fixed. [ruby-core:17293] + Fri Jun 20 02:11:01 2008 Yukihiro Matsumoto <matz@r...> * string.c (str_gsub): should preserve last successful match Index: lib/mathn.rb =================================================================== --- lib/mathn.rb (revision 17447) +++ lib/mathn.rb (revision 17448) @@ -201,7 +201,7 @@ neard = self.denominator.to_f ** (1.0/other.denominator.to_f) loop do if (neard**other.denominator == self.denominator) - dem = neaed + dem = neard break end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/