From c08b5dfb81c5a79e0c4965ff1a8da07f040c5820 Mon Sep 17 00:00:00 2001 From: tadf Date: Sat, 5 Apr 2008 14:25:40 +0000 Subject: * 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 --- lib/complex.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/complex.rb') 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 -- cgit v1.2.3