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 | c08b5dfb81c5a79e0c4965ff1a8da07f040c5820 (patch) | |
tree | ae0ca032557e77eb17c4f62f73ccf91dbff37498 /lib/complex.rb | |
parent | be710a03919604a1b7776043aecc5cf0914da01c (diff) |
* 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
Diffstat (limited to 'lib/complex.rb')
-rw-r--r-- | lib/complex.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/complex.rb b/lib/complex.rb index 9d926023a7..a585e95d97 100644 --- a/lib/complex.rb +++ b/lib/complex.rb @@ -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 |