https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112008-11-21T08:33:38ZRuby Issue Tracking SystemRuby 1.8 - Bug #769: Mathn's Rational#power2 is broken on 1.8.6 and 1.8.7https://bugs.ruby-lang.org/issues/769?journal_id=16562008-11-21T08:33:38Zjredville (Jim Deville)jdeville@microsoft.com
<ul></ul><p>=begin<br>
This is tested in RubySpec: 1.8/library/mathn/rational/power2_spec.rb. If you test with this, you'll need to remove the ruby_bug guards, or run with -n foo to bypass them.<br>
=end</p> Ruby 1.8 - Bug #769: Mathn's Rational#power2 is broken on 1.8.6 and 1.8.7https://bugs.ruby-lang.org/issues/769?journal_id=16872008-11-24T17:09:57Zmatz (Yukihiro Matsumoto)matz@ruby.or.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>=begin</p>
<p>=end</p> Ruby 1.8 - Bug #769: Mathn's Rational#power2 is broken on 1.8.6 and 1.8.7https://bugs.ruby-lang.org/issues/769?journal_id=16882008-11-24T17:12:09Zmatz (Yukihiro Matsumoto)matz@ruby.or.jp
<ul></ul><p>=begin<br>
Yes, power2 is broken. But it also was undocumented and planned to remove (1.9 already removed). So, in short, ignore it.</p>
<p>=end</p>