1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] update doc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2017-03-02 23:36:13 +00:00
parent b7336a249a
commit 2f3ff53f86

View file

@ -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