mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] replace Fixnum with Integer [ci skip]
* numeric.c: [DOC] update document for Integer class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6c4903ce2c
commit
4e44f6ef86
18 changed files with 51 additions and 75 deletions
2
math.c
2
math.c
|
@ -683,7 +683,7 @@ math_cbrt(VALUE obj, VALUE x)
|
|||
* Math.frexp(x) -> [fraction, exponent]
|
||||
*
|
||||
* Returns a two-element array containing the normalized fraction (a Float)
|
||||
* and exponent (a Fixnum) of +x+.
|
||||
* and exponent (an Integer) of +x+.
|
||||
*
|
||||
* fraction, exponent = Math.frexp(1234) #=> [0.6025390625, 11]
|
||||
* fraction * 2**exponent #=> 1234.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue