Difference between revisions of "Math.ldexp"

From GiderosMobile
Line 6: Line 6:
 
(number) = math.ldexp(v1,v2)
 
(number) = math.ldexp(v1,v2)
 
</source>
 
</source>
'''v1''': (number) first value ''''''<br/>
+
=== Parameters ===
'''v2''': (number) second value ''''''<br/>
+
'''v1''': (number) first value <br/>
 +
'''v2''': (number) second 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 v12^v2 (v2 should be an integer).

(number) = math.ldexp(v1,v2)

Parameters

v1: (number) first value
v2: (number) second value

Return values

Returns (number) result