From bda463c134c28da140426f9795c694a5bd17de2e Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 30 Apr 2016 04:22:27 +0000 Subject: move Fixnum#/ document position. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/numeric.c b/numeric.c index b6ab927354..95444b3b63 100644 --- a/numeric.c +++ b/numeric.c @@ -3416,6 +3416,15 @@ int_fdiv(VALUE x, VALUE y) return Qnil; } +/* + * Document-method: Fixnum#/ + * call-seq: + * fix / numeric -> numeric_result + * + * Performs division: the class of the resulting object depends on the class of + * +numeric+ and on the magnitude of the result. It may return a Bignum. + */ + static VALUE fix_divide(VALUE x, VALUE y, ID op) { @@ -3450,15 +3459,6 @@ fix_divide(VALUE x, VALUE y, ID op) } } -/* - * Document-method: Fixnum#/ - * call-seq: - * fix / numeric -> numeric_result - * - * Performs division: the class of the resulting object depends on the class of - * +numeric+ and on the magnitude of the result. It may return a Bignum. - */ - static VALUE fix_div(VALUE x, VALUE y) { -- cgit v1.2.3