summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-02 23:36:13 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-02 23:36:13 (GMT)
commit2f3ff53f86eb5e9477991e385e3362cfe9a2dd36 (patch)
tree06ec4f94958a3647874ed95fec621841dc2b9c05 /numeric.c
parentb7336a249a4e5470144b0a1aafbae1ee2e8aef53 (diff)
[DOC] update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 8c52630..6afd95e 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3643,7 +3643,7 @@ rb_int_fdiv_double(VALUE x, VALUE y)
* call-seq:
* integer.fdiv(numeric) -> float
*
- * Returns the floating point result of dividing +fix+ by +numeric+.
+ * Returns the floating point result of dividing +integer+ by +numeric+.
*
* 654321.fdiv(13731) #=> 47.6528293642124
* 654321.fdiv(13731.24) #=> 47.6519964693647
@@ -4644,7 +4644,7 @@ rb_int_abs(VALUE num)
* call-seq:
* int.size -> int
*
- * Returns the number of bytes in the machine representation of +fix+.
+ * Returns the number of bytes in the machine representation of +int+.
*
* 1.size #=> 4
* -1.size #=> 4