This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
ruby--ruby
Watch
1
Star
0
Fork
You've already forked ruby--ruby
0
mirror of
https://github.com/ruby/ruby.git
synced
2022-11-09 12:17:21 -05:00
Code
Releases
Activity
da5e82f5a3
ruby--ruby
/
lib
/
complex.rb
5 lines
71 B
Ruby
Raw
Normal View
History
Unescape
Escape
* 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
2008-04-05 10:25:40 -04:00
require
'cmath'
* lib/complex.rb: remove Math first before overwriting by CMath. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-07 22:01:07 -04:00
Object
.
instance_eval
{
remove_const
:Math
}
* 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
2008-04-05 10:25:40 -04:00
Math
=
CMath
Copy permalink