diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-14 22:30:45 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-14 22:30:45 +0000 |
commit | 6d02a4857d569bf91e3e9faca1acd557406aa122 (patch) | |
tree | 88a2bb74ffc76c0efc2c03ba67eb549d58a7bf88 /math.c | |
parent | fee4ed204f78a5476be61aa61716a293425d7c6a (diff) | |
download | bundler-6d02a4857d569bf91e3e9faca1acd557406aa122.tar.gz |
* complex.c (nucomp_div): [ruby-dev:34357]
* complex.c (nucomp_abs): use hypot.
* complex.c (nucomp_quo): do not force convertion.
* test/ruby/test_complex.rb: omitted some meaningless tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -465,7 +465,7 @@ math_ldexp(VALUE obj, VALUE x, VALUE n) * Math.hypot(3, 4) #=> 5.0 */ -static VALUE +VALUE math_hypot(VALUE obj, VALUE x, VALUE y) { Need_Float2(x, y); |