summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/bigdecimal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-26 06:11:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-26 06:11:23 +0000
commit4e44f6ef8668faa59898de2da7612b6a2cad1eb8 (patch)
treeeb94197597c05bf227a627a9467dc2ea3c14a661 /ext/bigdecimal/bigdecimal.c
parent6c4903ce2ce54535e49b940660e57d6bd12f939f (diff)
[DOC] replace Fixnum with Integer [ci skip]
* numeric.c: [DOC] update document for Integer class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r--ext/bigdecimal/bigdecimal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 623bd11ceec..8aebb389e96 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -680,7 +680,7 @@ BigDecimal_check_num(Real *p)
static VALUE BigDecimal_split(VALUE self);
-/* Returns the value as an integer (Fixnum or Bignum).
+/* Returns the value as an Integer.
*
* If the BigNumber is infinity or NaN, raises FloatDomainError.
*/
@@ -2483,7 +2483,7 @@ static Real *BigDecimal_new(int argc, VALUE *argv);
* If it is a String, spaces are ignored and unrecognized characters
* terminate the value.
*
- * digits:: The number of significant digits, as a Fixnum. If omitted or 0,
+ * digits:: The number of significant digits, as an Integer. If omitted or 0,
* the number of significant digits is determined from the initial
* value.
*
@@ -2492,10 +2492,10 @@ static Real *BigDecimal_new(int argc, VALUE *argv);
*
* ==== Exceptions
*
- * TypeError:: If the +initial+ type is neither Fixnum, Bignum, Float,
+ * TypeError:: If the +initial+ type is neither Integer, Float,
* Rational, nor BigDecimal, this exception is raised.
*
- * TypeError:: If the +digits+ is not a Fixnum, this exception is raised.
+ * TypeError:: If the +digits+ is not an Integer, this exception is raised.
*
* ArgumentError:: If +initial+ is a Float, and the +digits+ is larger than
* Float::DIG + 1, this exception is raised.