summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/numeric.c b/numeric.c
index 50cf233d71..4730e62785 100644
--- a/numeric.c
+++ b/numeric.c
@@ -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