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:
parent
b7336a249a
commit
2f3ff53f86
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue