From 6d02a4857d569bf91e3e9faca1acd557406aa122 Mon Sep 17 00:00:00 2001 From: tadf Date: Mon, 14 Apr 2008 22:30:45 +0000 Subject: * 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 --- math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math.c') 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); -- cgit v1.2.3