diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-03 16:04:31 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-03 16:04:31 +0000 |
commit | c69d2005c3eafda3bf56c16ad35354fafd42c640 (patch) | |
tree | 43ca8410bd9e6552c91c81c86b10ce7a5698196b /numeric.c | |
parent | 228f30be3a96d078179eb1e1773a226c50c4e1a2 (diff) | |
download | ruby-c69d2005c3eafda3bf56c16ad35354fafd42c640.tar.gz |
* numeric.c (num_quo): RDoc updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -268,6 +268,10 @@ num_fdiv(VALUE x, VALUE y) * Suppose to return most accurate division result, which * is either rational or float (if any of operands are float). * + * + * 654321.quo(13731) #=> Rational(218107, 4577) + * 654321.quo(13731.24) #=> 47.6519964693647 + * */ static VALUE @@ -2234,10 +2238,6 @@ fixdivmod(long x, long y, long *divp, long *modp) * * Returns the floating point result of dividing <i>fix</i> by * <i>numeric</i>. - * - * 654321.quo(13731) #=> Rational(218107, 4577) - * 654321.quo(13731.24) #=> xxx - * */ static VALUE |