Difference between revisions of "Math.frexp"

From GiderosMobile
Line 6: Line 6:
 
(number) = math.frexp(v)
 
(number) = math.frexp(v)
 
</source>
 
</source>
'''v''': (number) value ''''''<br/>
+
=== Parameters ===
 +
'''v''': (number) value <br/>
 +
=== Return values ===
 
'''Returns''' (number) result<br/>
 
'''Returns''' (number) result<br/>

Revision as of 10:44, 23 August 2018

Available since: Gideros 2011.6

Description

Returns m and e such that v = m2^e, e is an integer and the absolute value of m is in the range [0.5, 1) (or zero when v is zero).

(number) = math.frexp(v)

Parameters

v: (number) value

Return values

Returns (number) result