D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Math
/
Filename :
frexp-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a two-element array containing the normalized fraction (a <tt>Float</tt>) and exponent (a <tt>Fixnum</tt>) of <em>numeric</em>. - !ruby/struct:SM::Flow::VERB body: " fraction, exponent = Math.frexp(1234) #=> [0.6025390625, 11]\n fraction * 2**exponent #=> 1234.0\n" full_name: Math::frexp is_singleton: true name: frexp params: | Math.frexp(numeric) => [ fraction, exponent ] visibility: public