Difference between revisions of "Math.frexp"

From GiderosMobile
Line 12: Line 12:
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (number) <translate>result</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>result</translate><br/>
 +
 +
{{Math}}

Revision as of 21:57, 11 February 2020


Available since: Gideros 2011.6
Class: math

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