ruby-changes:4407
From: ko1@a...
Date: Fri, 4 Apr 2008 01:04:48 +0900 (JST)
Subject: [ruby-changes:4407] matz - Ruby:r15898 (trunk): * numeric.c (num_quo): RDoc updated.
matz 2008-04-04 01:04:31 +0900 (Fri, 04 Apr 2008)
New Revision: 15898
Modified files:
trunk/ChangeLog
trunk/numeric.c
Log:
* numeric.c (num_quo): RDoc updated.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/numeric.c?r1=15898&r2=15897&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15898&r2=15897&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 15897)
+++ ChangeLog (revision 15898)
@@ -10,6 +10,8 @@
* complex.c (nucomp_fdiv): fdiv implementation restored.
+ * numeric.c (num_quo): RDoc updated.
+
Thu Apr 3 21:51:45 2008 Tadayoshi Funaba <tadf@d...>
* complex.c (nucomp_int_check): function for DRY real check.
Index: numeric.c
===================================================================
--- numeric.c (revision 15897)
+++ numeric.c (revision 15898)
@@ -268,6 +268,10 @@
* 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 @@
*
* 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
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/