mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
be710a0391
commit
c08b5dfb81
7 changed files with 269 additions and 132 deletions
|
@ -1,3 +1,8 @@
|
|||
require 'cmath'
|
||||
|
||||
Math = CMath
|
||||
|
||||
=begin
|
||||
module Math
|
||||
|
||||
alias exp! exp
|
||||
|
@ -219,3 +224,4 @@ module Math
|
|||
module_function :atanh
|
||||
|
||||
end
|
||||
=end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue