diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-30 04:22:27 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-30 04:22:27 +0000 |
commit | 4798efde03fc876fa6e256efa321599c044f1df2 (patch) | |
tree | 5be458158af2a3cdb13b2bf41f7c7abd3c413224 /numeric.c | |
parent | 4633d83126d25d0427de1c3a326cd933c64b4886 (diff) | |
download | ruby-4798efde03fc876fa6e256efa321599c044f1df2.tar.gz |
move Fixnum#/ document position.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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) { |