From aaf80f26b32d0e3b8e75fab6ff40eb9e9ea60476 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: http://svn.ruby-lang.org/repos/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 815d9e72f..fe25c4c0a 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