Difference between revisions of "Math.pow"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === returns v1 raised to the power of v2 <source lang="lua"> (number), = math.pow(v1v2,) </source> '''v1:'...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[math]]<br/>
 +
 
=== Description ===
 
=== Description ===
returns v1 raised to the power of v2
+
Returns v1 raised to the power of v2.
<source lang="lua">
+
<syntaxhighlight lang="lua">
(number), = math.pow(v1v2,)
+
(number) = math.pow(v1,v2)
</source>
+
</syntaxhighlight>
'''v1:''' (number) value to exponentiate ''''''<br/>
+
 
'''v2:''' (number) power in which to exponentiate ''''''<br/>
+
=== Parameters ===
'''Returns''' (number) result of exponentiation<br/>
+
'''v1''': (number) value to exponentiate<br/>
 +
'''v2''': (number) power in which to exponentiate<br/>
 +
 
 +
=== Return values ===
 +
'''Returns''' (number) result of exponentiation
 +
 
 +
=== See also ===
 +
'''[[Mutation Operators]]'''
 +
 
 +
{{Math}}

Latest revision as of 14:30, 13 July 2023