diff options
| author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-05 14:25:40 +0000 |
|---|---|---|
| committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-05 14:25:40 +0000 |
| commit | a9af0550b7439ba8506734109d879f45be4e5766 (patch) | |
| tree | ae0ca032557e77eb17c4f62f73ccf91dbff37498 /lib/rational.rb | |
| parent | 4a5a3f5afb42e39e228349d3d377cbc7dfea4da8 (diff) | |
| download | ruby-a9af0550b7439ba8506734109d879f45be4e5766.tar.gz ruby-a9af0550b7439ba8506734109d879f45be4e5766.tar.xz ruby-a9af0550b7439ba8506734109d879f45be4e5766.zip | |
* lib/cmath.rb: new.
* lib/complex.rb: depends lib/cmath.rb.
* lib/rational.rb: added rdiv.
* complex.c: removed some math functions.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rational.rb')
| -rw-r--r-- | lib/rational.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rational.rb b/lib/rational.rb index 87c5d3f11..24774c357 100644 --- a/lib/rational.rb +++ b/lib/rational.rb @@ -4,6 +4,7 @@ class Fixnum alias power! ** alias rpower ** + alias rdiv quo end @@ -13,5 +14,6 @@ class Bignum alias power! ** alias rpower ** + alias rdiv quo end |
