Project

General

Profile

Actions

Bug #141

closed

Rational#power2 loops when the argument is 0

Added by krsh (Gianluigi Spagnuolo) over 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
[ruby-core:17226]

Description

=begin
Rational#power2, when passed Rational, loop if the argument is 0.

For example:

Rational.new!(3, 4).power2(Rational.new!(0, 3))
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0