mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
c08b5dfb81
* lib/complex.rb: depends lib/cmath.rb. * lib/rational.rb: added rdiv. * complex.c: removed some math functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
19 lines
183 B
Ruby
19 lines
183 B
Ruby
class Fixnum
|
|
|
|
alias quof fdiv
|
|
|
|
alias power! **
|
|
alias rpower **
|
|
alias rdiv quo
|
|
|
|
end
|
|
|
|
class Bignum
|
|
|
|
alias quof fdiv
|
|
|
|
alias power! **
|
|
alias rpower **
|
|
alias rdiv quo
|
|
|
|
end
|