Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Math/frexp-c.yaml |
--- !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