numeric.c: remove mention of Bignum from docs
* numeric.c: [DOC] remove mention of Bignum from Integer#{+,-,*,/}, the return type does not depend on magnitude anymore. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f280556f73
commit
5e58811bc8
17
numeric.c
17
numeric.c
@ -3466,8 +3466,8 @@ rb_int2str(VALUE x, int base)
|
|||||||
* call-seq:
|
* call-seq:
|
||||||
* int + numeric -> numeric_result
|
* int + numeric -> numeric_result
|
||||||
*
|
*
|
||||||
* Performs addition: the class of the resulting object depends on the class of
|
* Performs addition: the class of the resulting object depends on
|
||||||
* +numeric+ and on the magnitude of the result. It may return a Bignum.
|
* the class of +numeric+.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
@ -3513,8 +3513,8 @@ rb_int_plus(VALUE x, VALUE y)
|
|||||||
* call-seq:
|
* call-seq:
|
||||||
* int - numeric -> numeric_result
|
* int - numeric -> numeric_result
|
||||||
*
|
*
|
||||||
* Performs subtraction: the class of the resulting object depends on the class
|
* Performs subtraction: the class of the resulting object depends on
|
||||||
* of +numeric+ and on the magnitude of the result. It may return a Bignum.
|
* the class of +numeric+.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
@ -3557,9 +3557,8 @@ rb_int_minus(VALUE x, VALUE y)
|
|||||||
* call-seq:
|
* call-seq:
|
||||||
* int * numeric -> numeric_result
|
* int * numeric -> numeric_result
|
||||||
*
|
*
|
||||||
* Performs multiplication: the class of the resulting object depends on the
|
* Performs multiplication: the class of the resulting object depends on
|
||||||
* class of +numeric+ and on the magnitude of the result. It may return a
|
* the class of +numeric+.
|
||||||
* Bignum.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
@ -3660,8 +3659,8 @@ rb_int_fdiv(VALUE x, VALUE y)
|
|||||||
* call-seq:
|
* call-seq:
|
||||||
* int / numeric -> numeric_result
|
* int / numeric -> numeric_result
|
||||||
*
|
*
|
||||||
* Performs division: the class of the resulting object depends on the class of
|
* Performs division: the class of the resulting object depends on
|
||||||
* +numeric+ and on the magnitude of the result. It may return a Bignum.
|
* the class of +numeric+.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user