From 4e44f6ef8668faa59898de2da7612b6a2cad1eb8 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 26 Oct 2016 06:11:23 +0000 Subject: [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 --- ext/bigdecimal/bigdecimal.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/bigdecimal/bigdecimal.c') diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 623bd11cee..8aebb389e9 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. -- cgit v1.2.3