summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-06 07:18:49 (GMT)
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-06 07:18:49 (GMT)
commit5e58811bc8c99631b6378347f85f879e0d665a86 (patch)
treecbe1bacb4d49c6c792e3afb02d86db7442aa6383 /numeric.c
parentf280556f739d7768e78e522a29f68288c703718b (diff)
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
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/numeric.c b/numeric.c
index 77f956a..cb9a780 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3466,8 +3466,8 @@ rb_int2str(VALUE x, int base)
* call-seq:
* int + numeric -> numeric_result
*
- * Performs addition: the class of the resulting object depends on the class of
- * +numeric+ and on the magnitude of the result. It may return a Bignum.
+ * Performs addition: the class of the resulting object depends on
+ * the class of +numeric+.
*/
static VALUE
@@ -3513,8 +3513,8 @@ rb_int_plus(VALUE x, VALUE y)
* call-seq:
* int - numeric -> numeric_result
*
- * Performs subtraction: the class of the resulting object depends on the class
- * of +numeric+ and on the magnitude of the result. It may return a Bignum.
+ * Performs subtraction: the class of the resulting object depends on
+ * the class of +numeric+.
*/
static VALUE
@@ -3557,9 +3557,8 @@ rb_int_minus(VALUE x, VALUE y)
* call-seq:
* int * numeric -> numeric_result
*
- * Performs multiplication: the class of the resulting object depends on the
- * class of +numeric+ and on the magnitude of the result. It may return a
- * Bignum.
+ * Performs multiplication: the class of the resulting object depends on
+ * the class of +numeric+.
*/
static VALUE
@@ -3660,8 +3659,8 @@ rb_int_fdiv(VALUE x, VALUE y)
* call-seq:
* int / numeric -> numeric_result
*
- * Performs division: the class of the resulting object depends on the class of
- * +numeric+ and on the magnitude of the result. It may return a Bignum.
+ * Performs division: the class of the resulting object depends on
+ * the class of +numeric+.
*/
static VALUE