aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-02 23:36:13 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-02 23:36:13 +0000
commit0b4090773ce8b16532bb0f5e231ccce1eba0f8b3 (patch)
tree06ec4f94958a3647874ed95fec621841dc2b9c05 /numeric.c
parent7721164f354dc75877b656efa1d08ecf57b63563 (diff)
downloadruby-0b4090773ce8b16532bb0f5e231ccce1eba0f8b3.tar.gz
[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 8c52630ce0..6afd95e896 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