summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-14 22:30:45 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-14 22:30:45 +0000
commit6d02a4857d569bf91e3e9faca1acd557406aa122 (patch)
tree88a2bb74ffc76c0efc2c03ba67eb549d58a7bf88 /math.c
parentfee4ed204f78a5476be61aa61716a293425d7c6a (diff)
downloadbundler-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index 815d9e72ff..fe25c4c0a0 100644
--- a/math.c
+++ b/math.c
@@ -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);