1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* numeric.c (num_quo): RDoc updated.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-04-03 16:04:31 +00:00
parent 228f30be3a
commit c69d2005c3
2 changed files with 6 additions and 4 deletions

View file

@ -10,6 +10,8 @@ Fri Apr 4 00:42:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* complex.c (nucomp_fdiv): fdiv implementation restored.
* numeric.c (num_quo): RDoc updated.
Thu Apr 3 21:51:45 2008 Tadayoshi Funaba <tadf@dotrb.org>
* complex.c (nucomp_int_check): function for DRY real check.

View file

@ -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