summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-12 16:20:56 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-12 16:20:56 +0000
commitc90b6936413be01e079a32b2ec3b6d694e95f532 (patch)
tree9b8e593b4fe63544399c99ed9b2c3b9eb5e7778b /numeric.c
parent5ee565d5a784e9f319b7b81be09520073c39ebaf (diff)
merge revision(s) 57761:
[DOC] update doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57920 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 f67b910c1f..1fa4c4d562 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3635,7 +3635,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
@@ -4635,7 +4635,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